Sub topic 2
Legal and mailbox-provider expectations
This chapter assumes you know what consent means for a mailing list (the previous chapter) and have a general idea of what spam complaints and sender reputation are. It is a technical summary, not legal advice. Check your own obligations with a qualified lawyer.
Two sources of rules
Two groups set the rules for your list:
- Lawmakers define what counts as valid permission and what you must be able to prove.
- Mailbox providers such as Gmail, Yahoo, and Microsoft decide whether your mail reaches the inbox. They enforce their own technical and behavioural requirements, whatever the law says.
You must satisfy both. A flow that is legal can still be filtered, and a flow that providers accept can still be unlawful.
The main legal regimes
| Regime | Region | Model | Points that affect your design |
|---|---|---|---|
| GDPR and ePrivacy | EU/EEA and UK equivalents | Opt-in | Consent must be freely given, specific, informed, and unambiguous. You must be able to demonstrate it. Withdrawing must be as easy as giving it. |
| CAN-SPAM | United States | Opt-out | No misleading headers or subjects. Include a postal address and a working opt-out. Honour opt-outs within 10 business days. |
| CASL | Canada | Opt-in (express or implied) | You need consent before sending. Identify yourself and provide an unsubscribe mechanism. |
Three consequences follow for engineers:
- Proof matters. Under GDPR the sender carries the burden of showing consent. This is why later chapters store the time, source, and exact wording of each consent event.
- Unsubscribing must be easy. A login wall, a form with many steps, or a fee puts you at risk under every regime in the table.
- Opt-out is not permission. CAN-SPAM allows sending without prior consent, but that does not apply to EU or Canadian recipients. Lists with a global audience should follow the strictest rule.
Double opt-in is not named as a requirement in most of these laws. It is a practical way to produce evidence that the address owner agreed. In some countries, Germany for example, case law has made it the expected standard for marketing sign-ups.
Mailbox-provider requirements
Since 2024, Gmail and Yahoo have required bulk senders (roughly 5,000 or more messages per day to their users) to meet these conditions:
- Authenticate mail with SPF and DKIM, and publish a DMARC policy.
- Support one-click unsubscribe for marketing mail using the
List-UnsubscribeandList-Unsubscribe-Postheaders, and process requests within two days. - Keep the reported spam rate below 0.10% and never reach 0.30%.
Microsoft has announced similar authentication requirements for high-volume senders to Outlook.com. Check each provider's current published guidance, because thresholds and dates change.
What this means for the rest of the tutorial
- Confirmation tokens and consent records answer the proof requirement.
- The unsubscribe flow, suppression list, and one-click headers answer both the legal and the provider requirements.
- The preference centre gives people an alternative to leaving entirely, which reduces both unsubscribes and complaints.
Exercise
Your list has subscribers in the EU, Canada, and the US. A colleague says CAN-SPAM only requires an opt-out link, so you can import purchased addresses and send. What is wrong with this, and what record would you keep for consent given by a new subscriber?
Show answer
CAN-SPAM is an opt-out regime that applies to US recipients, but GDPR/ePrivacy and CASL require consent before sending to EU and Canadian recipients, and purchased addresses do not carry that consent. A global list should follow the strictest rule. For each new subscriber, keep the event type, timestamp, source, the exact consent wording shown, and the IP address and user agent, so you can demonstrate when and how consent was given.