I was asked to scrape details of 50k+ people from LinkedIn and load them into essentially a spam cannon because, you guessed it, we needed the e-mail signups. And follow-up sales calls. So, probably illegal (because spam), generally horrible behaviour, and also a huge violation of LI's terms of service. I said no. Fortunately if I didn't program it in that company nobody was going to do it and all I had to put up with was snark.