The General Data Protection Regulation (GDPR) is a regulation in EU law on data protection and privacy for all individuals within the European Union. It also addresses the export of personal data outside the EU. In the context of email marketing, GDPR mandates that businesses must obtain explicit consent from recipients before sending them marketing emails.