Sub topic 2
Consent: who you are allowed to email
This chapter assumes you know how email is sent and received, what an email service provider (ESP) does, and what a DNS record is. It covers the working model of consent and the errors that most often damage a sender's list and reputation. Legal detail comes in a later chapter. Here the focus is the practical question: for a given recipient and a given message type, do you have permission to send?
Why consent comes first
Consent is the recipient's agreement to receive a certain kind of email from you. It is the base of every other decision in this tutorial. It decides whether you may send a newsletter or a promotion at all. It also shapes your list quality, your complaint rate, and how mailbox providers such as Gmail and Yahoo treat your mail.
The three email types sit at different points on the consent scale:
- Newsletters need the recipient to have asked for recurring content.
- Promotional email needs permission that covers marketing. The rules depend on the region.
- Transactional email is sent because of something the recipient did, such as a purchase or a password reset. It does not depend on marketing consent.
Consent is not one yes/no flag. It has a scope (what you may send), a source (how you got it), and a time (when it was given). A sound system stores all three.
Consent models
Two models cover most practice.
Opt-in
The person takes a positive action to say yes. Examples are ticking an unchecked box or submitting a signup form that says "Get our weekly newsletter."
There are two forms of opt-in:
- Single opt-in adds the address to the list as soon as the form is submitted.
- Double opt-in (also called confirmed opt-in) sends a confirmation email first. The address joins the list only after the person clicks the link.
Opt-out
You may email the person until they say stop. This model is more common in the United States for commercial email, where the law focuses on honoring an unsubscribe. It is not allowed in many other regions. Opt-out also tends to produce more complaints, so many senders use opt-in even where they are not required to.
Comparing the models
| Model | How the address gets on the list | Typical risk | Typical benefit |
|---|---|---|---|
| Single opt-in | Form submission only | Typos, bots, and addresses entered by someone else | Fast, simple, no extra step |
| Double opt-in | Form submission plus a click on a confirmation link | Some real people never confirm | Verified address, proof of intent, fewer spam traps |
| Opt-out | You decide to email, the person must object | More complaints, may be unlawful outside some regions | Larger audience quickly |
Double opt-in gives you the strongest evidence of consent. It costs you some signups, and in return you get a cleaner list.
Implied and express consent
Two terms appear often in legal and platform documents.
- Express consent is a clear statement from the person, in writing or by an action such as submitting a form.
- Implied consent is inferred from a relationship or behavior. A customer who bought from you last month may be a case. Rules for implied consent are narrow, they often expire, and they differ by country.
Treat implied consent as a limited exception. Do not use it as a general reason to add people to a marketing list.
Consent is tied to purpose
A person who agreed to one thing has not agreed to everything. Suppose someone signs up for a weekly newsletter. That does not give you permission to send them a daily stream of discount offers. The scope they accepted was recurring content.
For this reason, collect consent per purpose. A signup form may offer separate choices:
- Weekly newsletter
- Product announcements and offers
- Account and order messages (these are transactional and usually do not need a checkbox)
Keeping these separate lets you honor a person who wants the newsletter but not the promotions.
What counts as valid consent
Good consent has these properties. They follow common regulatory and industry guidance.
- Informed. The form states what the person will receive, roughly how often, and who sends it.
- Specific. It covers named purposes, not a vague "updates and partner offers."
- Freely given. You do not bundle it into terms of service or make it a hidden condition. A pre-ticked box is not a free choice.
- Unambiguous. The person did something clear. Silence or inactivity does not count.
- Revocable. The person can withdraw consent as easily as they gave it.
Records you should keep
If a mailbox provider, a regulator, or a complaining recipient asks how you got an address, you need an answer. Store a consent record for each subscriber:
- The email address
- The purposes consented to
- Timestamp, in UTC
- Source, such as the form URL or import name
- IP address and user agent, where your privacy policy and local law permit
- The exact wording shown at the time (or a version identifier for it)
- Confirmation timestamp, if you use double opt-in
- Withdrawal timestamp, if any
The following Python sketch shows a minimal record and a check that you can run before every marketing send. It uses only the standard library.
from dataclasses import dataclass, field
from datetime import datetime, timezone
from typing import Optional
@dataclass
class ConsentRecord:
email: str
purposes: set
source: str
wording_version: str
given_at: datetime
confirmed_at: Optional[datetime] = None
withdrawn_at: Optional[datetime] = None
requires_confirmation: bool = True
def may_send(record: ConsentRecord, purpose: str) -> bool:
"""Return True if this record permits sending the given purpose."""
if record.withdrawn_at is not None:
return False
if purpose not in record.purposes:
return False
if record.requires_confirmation and record.confirmed_at is None:
return False
return True
now = datetime.now(timezone.utc)
subscriber = ConsentRecord(
email="[email protected]",
purposes={"newsletter"},
source="https://example.com/signup",
wording_version="2026-11-v2",
given_at=now,
confirmed_at=now,
)
print(may_send(subscriber, "newsletter")) # True
print(may_send(subscriber, "promotions")) # False: scope was not grantedThe second call returns False because the person agreed only to the newsletter. This is the purpose rule from the previous section, written as code.
The confirmation flow
Double opt-in has a few moving parts, and mistakes in them cause real problems. The diagram shows the states a subscriber passes through.
Keep these rules in mind:
- Send the confirmation message right away. A link that arrives hours later looks suspicious.
- Give the link an expiry, for example 48 hours, and make the token single-use.
- Do not send marketing to a pending address. The confirmation email itself is a one-time message that carries no promotion.
- If a person re-submits the form while pending, resend the confirmation rather than creating a duplicate.
- An unsubscribed person returns to the list only by a new, deliberate opt-in. Do not re-add them because they appear in a later import.
Where consent goes wrong
These are the most common errors, with what each one costs you.
Buying or renting lists
People on a purchased list never agreed to hear from you. They also often include spam traps, which are addresses that exist to catch senders with bad collection practices. Hitting traps and drawing complaints can get your sending domain blocked. Most ESPs forbid purchased lists in their terms.
Adding customers to marketing automatically
A purchase creates a reason to send transactional messages (receipt, shipping). It does not by itself create marketing consent in many regions. A common error is to copy every customer into the newsletter list at checkout. If you want to offer the newsletter, show a separate, unticked box at checkout.
Importing old lists
A list that has not been mailed in a long time is risky. Addresses change hands and people forget they signed up. If you must contact them, run a re-permission campaign: one clear message asking them to confirm they still want to hear from you, sent only to people whose original consent you can document. Expect a low response rate and remove anyone who does not answer.
Scraping or harvesting addresses
Collecting addresses from websites or directories does not create consent. It is illegal in several jurisdictions and a fast way to land on blocklists.
Forgetting where an address came from
If you cannot say how an address joined your list, you cannot show consent. Imports from partners, events, and CRM migrations all need a recorded source.
Ignoring withdrawal
A person who withdraws consent must stop receiving the mail that consent covered. Honor the request promptly. The law sets specific time limits in some regions, and mailbox providers watch for senders who keep mailing people who asked to stop.
Treating a single click as blanket consent
Someone who downloads a guide has given an address for that guide. If your form did not say they would also receive weekly promotions, do not add them to that stream.
Consent for each email type
The table below summarizes what a typical sender should hold before sending each type. It is a working rule of thumb. Check the specific law for each region where your recipients live.
| Email type | Consent a careful sender holds | Notes |
|---|---|---|
| Newsletter | Opt-in to that newsletter, ideally confirmed | Scope is the recurring content the person signed up for |
| Promotional | Opt-in that explicitly covers marketing offers | Opt-out may be lawful in some places, but opt-in is safer |
| Transactional | No marketing consent needed | Message must relate to the person's own action or account and contain no promotion |
Note the last row. Transactional messages are sent on a different basis: the person's own transaction or account. That basis disappears if you add promotional content to the message. The chapter on mixed-content messages covers where the line sits.
Consent and suppression
A suppression list is a list of addresses you must not mail. It is the other half of consent. It should include:
- People who unsubscribed
- People who filed a spam complaint
- Addresses that hard bounced
- People who withdrew consent through any channel, including replying to your email or contacting support
Check the suppression list before every marketing send. Keep entries permanently, or for as long as the law allows. A deleted suppression entry is how unsubscribed people end up mailed again after an import.
Suppression for marketing does not always block transactional mail. A person who unsubscribed from your newsletter still needs their password reset. A hard bounce, though, blocks both, because the address does not work.
Practical checklist
Before sending a marketing message to a segment, confirm the following:
- Every address has a consent record with a purpose that matches this message.
- The consent source is known and documented.
- Pending (unconfirmed) addresses are excluded.
- The suppression list has been applied.
- The message identifies you as the sender and provides a working way to opt out.
- The audience is not an old, unmailed list that has not been re-permissioned.
Exercise
A customer buys a pair of shoes on your site. At checkout there was no newsletter checkbox. Two days later your marketing team wants to add the customer's address to the weekly promotions list because "they are a customer now." May you? What would you send instead, and how could you legitimately grow the list from checkout?
Show answer
Do not add the customer to the promotions list based on the purchase alone. In many regions a purchase does not give marketing consent, and even where the law is looser, the person never agreed to promotions, which raises complaint risk. You may send transactional messages tied to the order, such as the receipt and shipping updates, provided they contain no promotional content. To grow the list legitimately, add an unticked, clearly worded checkbox at checkout for the newsletter or promotions, record the consent with its source and wording version, and consider double opt-in.
Exercise
A subscriber signed up for "the weekly newsletter" through your site form. Using the may_send function from this chapter, what does it return when you check the purpose "promotions"? Why is that the right result, and what would you need to do to send them promotions?
Show answer
It returns False, because the record's purposes set contains only "newsletter". The person agreed to recurring content, not to offers, so the scope does not cover promotions. To send promotions you need new consent for that purpose, for example by inviting them to opt in to product offers through a preference page or a separate form, and then adding "promotions" to the record with a new timestamp and the wording shown.
Exercise
You inherit a list of 40,000 addresses from a partner. It has no consent records and has not been mailed for two years. A colleague proposes sending a promotion to all of them because "it is a big audience." Give two reasons not to, and describe a safer option.
Show answer
First, there is no documented consent, so you cannot show these people agreed to hear from you, and sending may break the law in some regions. Second, an old, unverified list likely contains spam traps and invalid addresses, which leads to bounces, complaints, and damage to your domain's reputation with mailbox providers. A safer option is to not mail the list for marketing at all. If the partner can document that the people consented to receive your mail, send a single re-permission message asking them to confirm, and add only those who confirm. Otherwise, drop the list and build your own through opt-in forms.