Privacy and GDPR
Lawful basis
Also called: legal basis, legitimate interest, consent
A lawful basis is one of the six reasons in Article 6 GDPR that make processing personal data legal. Every kind of email you send needs one.
Transactional mail usually rests on contract performance: you can't reset a password or send an invoice without emailing. Security alerts can rest on legitimate interest. Marketing mail generally needs consent under ePrivacy rules, with a narrow exception for existing customers.
Write down which basis covers which email type. It's the first thing a customer's DPO will ask about.