> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mailofly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Unsubscribes

# Unsubscribes & Compliance

Complying with CAN-SPAM, GDPR, and sender requirements from Google and Yahoo is built into Mailofly by default.

***

## One-Click Unsubscribe (RFC 8058)

For all marketing campaigns, Mailofly automatically adds standard RFC 8058 headers:

```http theme={null}
List-Unsubscribe: <https://api.mailofly.com/unsubscribe/u_abc123>, <mailto:unsub@inbound.mailofly.com>
List-Unsubscribe-Post: List-Unsubscribe=One-Click
```

This displays the native "Unsubscribe" action button at the top of Gmail, Apple Mail, and Yahoo inboxes. When clicked, the recipient is unsubscribed immediately without having to navigate off-site.

***

## Unsubscribe Links in Email Footers

Every campaign template includes an `{{unsubscribe_url}}` merge tag in the footer:

```html theme={null}
<p>
  Don't want to receive these emails?
  <a href="{{unsubscribe_url}}">Unsubscribe here</a>.
</p>
```

When a recipient clicks this link, their status is set to `unsubscribed: true` in your contacts table and recorded in the suppression list.

***

## Transactional Email Exemption

Transactional emails (password resets, invoices, security alerts) are exempt from unsubscribe requirements and do not require unsubscribe headers.


## Related topics

- [Unsubscribe Link](/sending/unsubscribe-link.md)
- [Introduction](/audience/introduction.md)
- [Topics](/audience/topics.md)
- [Migration Guide](/audience/migration-guide.md)
- [Subscriptions](/audience/subscriptions.md)
