Marketing email and unsubscribe
Marketing email is allowed only to recipients who opted in. See the Acceptable Use Policy.
Set "marketing": true. For each recipient we then:
- send a separate message with its own signed unsubscribe link;
- add
List-UnsubscribeandList-Unsubscribe-Post: List-Unsubscribe=One-Clickheaders (RFC 8058) that Gmail and Yahoo require; - host the unsubscribe page and add the address to your suppression list as
unsubscribe.
Put a visible link in your body with the placeholder {{unsubscribe_url}}; we replace it with each recipient's link:
<p><a href="{{unsubscribe_url}}">Unsubscribe</a></p>
Unsubscribes block marketing messages only. Transactional messages to the same address are still delivered. You receive an email.unsubscribed webhook.