Guides

One-click unsubscribe: the RFC 8058 headers

13 November 2026

One-click unsubscribe means two headers on every marketing message: List-Unsubscribe with an HTTPS link, and List-Unsubscribe-Post: List-Unsubscribe=One-Click. When a reader clicks unsubscribe in Gmail or Yahoo, the mailbox sends a POST request to that link, and you remove them without asking for anything else. The headers must be covered by a valid DKIM signature. Gmail requires this of bulk senders. Yahoo requires a one-click List-Unsubscribe header and calls this POST method highly recommended, though it also accepts mailto. Both want the request honored within two days.

Most newsletter platforms add these headers for you, but only once your domain is authenticated, because the DKIM rule depends on it. A $129 Snapshot checks the DNS side: SPF, DKIM, and DMARC for your sending domain.

Who needs it

If you send under 5,000 a day, the rule may not apply yet, but Google’s FAQ notes a bulk sender stays one permanently after crossing the line once. A holiday campaign can do that. See our holiday sending guide.

The two headers

RFC 8058 section 3.1 sets the rules:

The RFC’s own example, from section 8.1:

List-Unsubscribe: <https://example.com/unsubscribe/opaquepart>
    List-Unsubscribe-Post: List-Unsubscribe=One-Click

The opaquepart is a token that identifies the subscriber and the list, so the POST alone is enough to remove the right person. A mailto: address can sit in List-Unsubscribe as well, but Google’s FAQ says mailto links and plain URL links do not meet the one-click requirement on their own. The HTTPS link plus the Post header is what counts.

The DKIM rule

RFC 8058 section 4 says the sender must apply at least one valid DKIM signature, and that the signature must cover both headers. Without that, the RFC says receivers should not offer one-click unsubscribe for the message.

So one-click depends on DKIM. A platform that signs with its own domain still signs the headers, but your DMARC alignment is a separate question. The clean setup is the platform signing with your domain, which covers both. Our guide to setting up DKIM covers the common providers.

You can check by opening a message’s full headers. The DKIM-Signature header has an h= list of the headers it signed. Both List-Unsubscribe and List-Unsubscribe-Post should be in it. Our guide to reading email headers shows where to look.

What your server has to do

When someone clicks unsubscribe in Gmail or Yahoo, the mailbox sends an HTTPS POST to your link with the body List-Unsubscribe=One-Click. RFC 8058 section 3.1 says:

Section 3.2 adds that the receiver must not send the POST without the user’s consent, so the click itself is the consent. Your endpoint should remove the subscriber and return success. Do not ask them to log in or confirm.

The same link may also be opened in a browser by someone reading the raw header. It is reasonable to show a simple page for a GET request. The one-click path is the POST.

How fast to honor it

If your platform syncs subscribers to another tool, such as a store or a CRM, check that an unsubscribe in one place reaches the others in time. A person who unsubscribed and then gets the Black Friday email from a second tool is likely to mark it as spam.

Transactional mail

Google’s FAQ excludes transactional messages from the one-click rule. Order confirmations, shipping notices, password resets, and receipts do not need it. Do not slip promotions into them to get around the rule. Google’s sender guidelines ask senders not to mix promotional content into transactional messages.

Checking your platform

  1. Send a real campaign to a Gmail address you control, the same way your subscribers get it.
  2. Open Show original and search for List-Unsubscribe.
  3. Confirm the HTTPS link and the List-Unsubscribe-Post header are both there.
  4. Confirm DKIM passes, and that h= in the signature includes both headers.

If the headers are missing, check your platform’s settings and its domain authentication. The DKIM rule means one-click depends on a working signature.

Mistakes that break one-click

If you send from your own system rather than a newsletter platform, you need to build the endpoint and add both headers before the message is signed. Test it by sending a POST with the body List-Unsubscribe=One-Click to the link and confirming the subscriber is gone.

Keep the visible link too

The headers do not replace the link in the email body. Yahoo asks for a clearly visible unsubscribe link in the body as well. Google says to always give recipients an easy way to unsubscribe. A reader who cannot find a way out uses the spam button instead, and a spam complaint counts against you where an unsubscribe does not. Google says to keep the spam rate under 0.10% and never let it reach 0.30%.

Sources