- An unsubscribe link that you place inside the message body.
- List-Unsubscribe headers that email clients render as a native unsubscribe control.
Unsubscribe link
Insert themc-unsubscribe-url placeholder anywhere in your text/html or text/plain content. At render time, MailChannels
replaces it with a unique URL that opens a one-click unsubscribe page hosted by MailChannels.
To use the placeholder:
- The content part must set
template_typetomustache. - Each personalization must contain exactly one recipient, so the generated URL is unique to that recipient.
Only
text/html and text/plain content parts are supported. The placeholder is ignored in other content types.HTML content
Place the placeholder in thehref of an <a> element so it renders correctly across email clients:
Plain text content
Include the placeholder inline:List-Unsubscribe headers
Clients such as Gmail and Apple Mail render a native Unsubscribe control when a message carriesList-Unsubscribe
and List-Unsubscribe-Post headers. We automatically add both headers when the transactional field is set to false in
the send request.
When transactional is false, the following conditions must also be met:
- Each personalization contains exactly one recipient
- The email is DKIM signed

