Why use it?
Gmail and Yahoo require one-click unsubscribe for promotional mail. Without the right headers, opt-out depends only on the HTML link (preference center). With RFC 8058, the mailbox shows a native button and Notifique honors the request immediately.When to use it
- MARKETING template (and campaigns/automations using it) → RFC 8058 headers by default
POST /v1/email/messageswhen the recipient maps to a contact → by default- Transactional email (receipt, OTP, password reset) → set
listUnsubscribe: false - Recipient has no contact in the workspace → headers are not injected (no token)
How it works
- On send, Notifique issues a token (same family as
{{preferences_link}}) and sets MIME headers:List-Unsubscribe: <https://…/w/list-unsubscribe/:contactId?token=…>List-Unsubscribe-Post: List-Unsubscribe=One-Click
- Gmail/Yahoo POST to that URL with body
List-Unsubscribe=One-Click(no cookies, no login), opt-out happens only on POST. - A GET to the same URL only validates the token and shows a confirmation page (no preference change, avoids scanners/prefetch).
- On POST, Notifique unsubscribes immediately:
- with
topicin the URL (template with a topic) → topicUNSUBSCRIBED(invalid topic → error, no global fallback) - without topic →
receiveMarketing = false
- with
- The success page may link to the preference center to resubscribe.
The footer with
{{preferences_link}} / “click here to unsubscribe” still exists. RFC 8058 is additive (headers); it does not replace the preference center.Direct API (POST /v1/email/messages)
If
listUnsubscribeTopicId does not exist in this workspace: 400 with code INVALID_LIST_UNSUBSCRIBE_TOPIC. See Error responses.
For transactional mail:

