---
title: "The List-Unsubscribe header, explained"
url: "https://coldagentai.com/learn/list-unsubscribe-header-explained.md"
canonical_url: "https://coldagentai.com/learn/list-unsubscribe-header-explained"
last_updated: "2026-10-19"
type: "guide"
summary: "What the List-Unsubscribe and List-Unsubscribe-Post headers contain, what Google and Yahoo ask for, and how to build and check both for your own domain."
related: ["https://coldagentai.com/learn.md", "https://coldagentai.com/learn/google-and-yahoo-bulk-sender-rules.md", "https://coldagentai.com/learn/is-unsubscribe-link-required.md", "https://coldagentai.com/learn/spf-dkim-dmarc-explained.md"]
install: "claude mcp add --transport http coldagentai-free https://coldagentai.com/api/mcp"
---

# The List-Unsubscribe header, explained

> **For AI agents:** the complete index of ColdAgentAI pages is [llms.txt](https://coldagentai.com/llms.txt). Every page is also served as markdown at its URL plus .md.

What the List-Unsubscribe and List-Unsubscribe-Post headers contain, what Google and Yahoo ask for, and how to build and check both for your own domain.

List-Unsubscribe is an email header that carries a machine-readable way to opt out, so a mail app can show an unsubscribe button without the reader opening your message. List-Unsubscribe-Post adds a one-click signal on top of it. Gmail asks senders of more than 5,000 messages a day for the pair, Yahoo asks bulk senders for a header that supports one-click, and the rest of this page shows what each header contains, how a receiver uses it, and how to check yours.

## What the header is and where it comes from

The header was defined in 1998 in [RFC 2369](https://www.rfc-editor.org/rfc/rfc2369.txt), a standard that gave mailing lists a set of headers so that mail programs could offer list commands as buttons or menu items. The standard describes the List-Unsubscribe field as the command, preferably sent by mail, that directly unsubscribes the user and removes them from the list.

The value is one or more addresses written inside angle brackets. You can list several, separated by commas, and the standard says they are in order of preference from left to right: the mail client should use the leftmost one it knows how to handle, and try another only if the first one fails. That is why the usual pattern puts a web address first and a `mailto:` address second. A client with no web access can still use the mail address.

RFC 2369 also tells a client to ignore the field if its content, after leading whitespace and comments, starts with anything other than an opening angle bracket. A stray character at the start of the value therefore switches the whole header off for a compliant client, so check the first character.

> The header is not the same thing as the unsubscribe link inside your message. The header is read by the mail app and the receiving server. The link in the body is read by a person. Both providers ask for a visible unsubscribe link in the body as well as the header, and one does not replace the other.

## Why one-click exists and what it requires

A plain web address in the header has a weakness, which [RFC 8058](https://www.rfc-editor.org/rfc/rfc8058.txt) spells out: anti-spam software often fetches every address it finds in the headers automatically, and a sender cannot tell whether a request came from a person or from a scanner. Senders therefore put a confirmation page behind the link, which turns unsubscribing into several steps. If the process is hard, the standard notes, the reader's alternative is to report the mail as junk.

RFC 8058, published in January 2017, solves this with a second header. When you send one `List-Unsubscribe-Post` header alongside the `List-Unsubscribe` header, the receiver can unsubscribe the person with a single HTTPS POST request and no page to read. The standard sets these rules for the sender:

- The `List-Unsubscribe` header must contain one HTTPS address. It may also contain other addresses such as `mailto:`.
- The `List-Unsubscribe-Post` header must contain exactly one pair, `List-Unsubscribe=One-Click`.
- The message must carry a valid DKIM signature that covers at least both headers. In practice that means both names appear in the `h=` tag of the signature.
- The address must hold enough information to identify the recipient and the list, because the POST carries no extra fields. The standard says it should also include an opaque or hard-to-forge part, and that your server should verify it.
- The POST must not include cookies, HTTP authorization or other context, so your server cannot rely on a login or a session.
- Your server must not answer the POST with an HTTPS redirect, because redirected POST requests have historically not worked reliably.

On the receiving side the standard says a mail receiver must not send the POST without the user's consent, and should not offer one-click for a message that lacks the required DKIM signature. The body of the POST is the pair from your header, sent as `multipart/form-data` (the preferred encoding) or as `application/x-www-form-urlencoded`. The standard notes that the target is the same one a manual GET unsubscribe would use, so one server route can serve both.

## What Google and Yahoo ask of you

Google's [email sender guidelines](https://support.google.com/a/answer/81126) say that from February 1, 2024, senders of more than 5,000 messages a day to Gmail accounts must support one-click unsubscribe for marketing and subscribed messages, and must include a clearly visible unsubscribe link in the message body. Google's page gives the two headers to add and shows the POST request your server will receive. It also says to keep spam rates reported in Postmaster Tools below 0.30%.

Yahoo's [sender requirements](https://senders.yahooinc.com/best-practices/) list the same ask for bulk senders: a functioning list-unsubscribe header that supports one-click for marketing and subscribed messages, with the RFC 8058 POST method highly recommended and the `mailto:` method acceptable. Yahoo adds that the visible link in the body may point to a preference page, and that unsubscribes should be honored within 2 days. Its recommendations say the unsubscribe process should not require the person to log in.

| Point | RFC 8058 | Google | Yahoo |
| --- | --- | --- | --- |
| One-click header pair | Defines it | Required for senders over 5,000 messages a day to Gmail, for marketing and subscribed mail | Required for bulk senders, POST method highly recommended |
| Visible link in the body | Not covered | Required alongside the headers | Required, may open a preference page |
| DKIM covering the headers | Required for one-click | Authentication is required of bulk senders | Required of bulk senders |
| Time to act on a request | Not covered | Not stated on the page we read | Within 2 days |

Neither page says how it treats a one-to-one cold message. Google's wording is about marketing and subscribed messages. A message that promotes a product or service to a stranger is marketing in ordinary use of the word, so the safe reading is to include the headers on any outreach you send in volume. That is our reading, not a statement from either provider.

## Worked example for example.com

This is a complete header block for a sender using the invented domain `mail.example.com`. The values are fictional. The structure follows the examples in RFC 8058 and in Google's guidelines, with a `mailto:` fallback added as RFC 2369 allows.

Headers on the outgoing message:

```
List-Unsubscribe: <https://mail.example.com/u/7Qx2kLm9aVt4>, <mailto:unsubscribe@mail.example.com?subject=unsubscribe>
List-Unsubscribe-Post: List-Unsubscribe=One-Click
DKIM-Signature: v=1; a=rsa-sha256; d=mail.example.com; s=s1; c=relaxed/relaxed;
  h=from:to:subject:date:message-id:list-unsubscribe:list-unsubscribe-post; bh=...; b=...
```

The request a receiver sends when someone clicks unsubscribe:

```
POST /u/7Qx2kLm9aVt4 HTTP/1.1
Host: mail.example.com
Content-Type: application/x-www-form-urlencoded
Content-Length: 26

List-Unsubscribe=One-Click
```

| Part | What it does | Why it is built this way |
| --- | --- | --- |
| `<https://mail.example.com/u/7Qx2kLm9aVt4>` | The HTTPS address a receiver POSTs to | RFC 8058 requires one HTTPS address. The last segment is an opaque token that your server maps to one recipient and one list, as the standard advises. |
| `<mailto:unsubscribe@mail.example.com?subject=unsubscribe>` | A mail-based fallback | RFC 2369 lists alternates in order of preference, so a client that cannot use the web address can use this one. Yahoo accepts the `mailto:` method. |
| `List-Unsubscribe-Post: List-Unsubscribe=One-Click` | Signals that the web address accepts a one-click POST | RFC 8058 fixes this value exactly. |
| `h=...list-unsubscribe:list-unsubscribe-post` | Puts both headers under the DKIM signature | RFC 8058 says a receiver should not offer one-click when the signature does not cover them. |
| `mail.example.com` as the signing domain | The domain that vouches for the message | Use a domain that you control and that passes your other authentication checks. |

### Validation checklist before you send

1. Send a test message to a mailbox you own and open the full headers. Confirm that exactly one `List-Unsubscribe` and one `List-Unsubscribe-Post` header are present.
2. Confirm the value of `List-Unsubscribe` starts with an opening angle bracket and has an HTTPS address inside brackets.
3. Confirm `List-Unsubscribe-Post` reads `List-Unsubscribe=One-Click` and nothing else.
4. Read the DKIM-Signature header and confirm both header names appear in `h=`, and that the receiving mailbox shows DKIM as passing.
5. POST to the address yourself with `List-Unsubscribe=One-Click` as the body and no cookies. Confirm your server answers with a success status, not a redirect and not a login page.
6. Check that the test recipient is now on your suppression list, and that a second POST to the same address does not cause an error.
7. Change one character of the token and POST again. Confirm your server rejects it, since the standard says to verify the opaque part.
8. Confirm that the visible unsubscribe link in the body works with no login, and that the request is processed well inside 2 days.

## Mistakes that make the header useless

- Only a `mailto:` address. Yahoo accepts it, but Google's page asks bulk senders for the one-click pair, so a mail-only header can leave you short for Gmail recipients.
- A redirect from the unsubscribe address to a confirmation page. RFC 8058 forbids redirecting the POST.
- A confirmation page that needs a click. A scanner cannot click, and the standard exists so that nobody has to.
- A DKIM signature that does not list the two headers in `h=`. The signature can be valid and still not cover what one-click needs.
- A guessable address, such as one that contains only the plain recipient address. The standard asks for a hard-to-forge element so that a stranger cannot unsubscribe your list by sending forged messages.
- Treating an unsubscribe as optional bookkeeping. Add the address to a suppression list right away and check the list before every send.

## How the header fits with the rest of your setup

The header is one piece of a wider set of requirements. The same Google and Yahoo pages ask for SPF and DKIM authentication, a published DMARC policy for bulk senders, and a spam rate below 0.3%. RFC 8058 explains why the handling matters: when unsubscribing is hard, readers report the mail as junk instead. Our guide to [Google and Yahoo bulk sender rules](https://coldagentai.com/learn/google-and-yahoo-bulk-sender-rules.md) covers the full list, and [SPF, DKIM and DMARC explained](https://coldagentai.com/learn/spf-dkim-dmarc-explained.md) covers the signature that one-click depends on. For the question of whether a link is legally required, read [is an unsubscribe link required](https://coldagentai.com/learn/is-unsubscribe-link-required.md).

Treat the headers as infrastructure you set up once and then check. Send a fresh test message after any change to your mail provider, your signing domain or your unsubscribe route, because any of them can silently remove the headers or break the signature.

## Frequently asked questions

### Do I need List-Unsubscribe if I send fewer than 5,000 emails a day?

Google's requirement for one-click applies to senders of more than 5,000 messages a day to Gmail accounts, but its page tells every sender to give recipients an easy way to unsubscribe, and RFC 2369 describes the header for any list. Adding the headers costs little and gives mail apps a button that reduces the need to hit spam.

### What is the difference between List-Unsubscribe and List-Unsubscribe-Post?

List-Unsubscribe holds the addresses a receiver can use to opt the person out. List-Unsubscribe-Post is the signal from RFC 8058 that the HTTPS address in the first header accepts a one-click POST. The second header is only meaningful together with the first.

### Must the message be DKIM signed for one-click to work?

Yes. RFC 8058 requires at least one valid DKIM signature that covers both headers, and says a receiver should not offer one-click for a message without it.

### Can I use only a mailto address?

Yahoo's page calls the mailto method acceptable, but it highly recommends the RFC 8058 POST method. Google's page asks for one-click support, so include the HTTPS address and the second header as well and keep the mailto as a fallback.

### How quickly must I process an unsubscribe?

Yahoo's sender requirements say to honor unsubscribes within 2 days. The Google page we read does not state a number. Processing at once is the simplest way to stay inside both.

## Sources

- [RFC 2369: The Use of URLs as Meta-Syntax for Core Mail List Commands](https://www.rfc-editor.org/rfc/rfc2369.txt), read 2026-10-19: Definition of List-Unsubscribe, angle-bracket addresses, order of preference, and the rule to ignore a field that does not start with an angle bracket.
- [RFC 8058: Signaling One-Click Functionality for List Email Headers](https://www.rfc-editor.org/rfc/rfc8058.txt), read 2026-10-19: The List-Unsubscribe-Post header, the DKIM requirement, the POST rules, no redirect, opaque identifier and consent rule.
- [Email sender guidelines (Gmail Help)](https://support.google.com/a/answer/81126), read 2026-10-19: One-click unsubscribe and visible link for senders of more than 5,000 messages a day from February 1, 2024, the example headers, and the 0.30% spam rate line.
- [Sender Requirements and Recommendations (Yahoo Sender Hub)](https://senders.yahooinc.com/best-practices/), read 2026-10-19: Bulk sender list-unsubscribe requirement, POST highly recommended, mailto acceptable, visible link, no login, honor within 2 days.

Published 2026-10-19. Sources last checked 2026-10-19. Written by ColdAgentAI.

## Related

- [Cold email guides](https://coldagentai.com/learn.md)
- [Google and Yahoo bulk sender rules, explained](https://coldagentai.com/learn/google-and-yahoo-bulk-sender-rules.md)
- [Is an unsubscribe link required?](https://coldagentai.com/learn/is-unsubscribe-link-required.md)
- [SPF, DKIM and DMARC explained](https://coldagentai.com/learn/spf-dkim-dmarc-explained.md)
