The legality of web scraping for email marketing is complex and varies by jurisdiction. In many cases, scraping email addresses without permission can violate privacy laws like the General Data Protection Regulation (GDPR) in Europe or the CAN-SPAM Act in the United States. It's crucial to ensure compliance with local regulations before using web scraping for email marketing purposes.