The General Data Protection Regulation (GDPR) is a regulation in EU law on data protection and privacy. It affects email marketing by requiring that you have explicit consent to collect and process personal data. Non-compliance can lead to severe penalties.