Skip to content

Glossary · RFC 8058

What is one-click unsubscribe?

Quick answer

One-click unsubscribe lets a recipient leave your list straight from the inbox interface, with no landing page, login or confirmation step. The mail client sends an HTTPS POST to the URL in your List-Unsubscribe header, and your system removes the address. Gmail and Yahoo require it from bulk senders on marketing and subscribed mail, and expect requests honored within two days.

Definition

One-click unsubscribe: An extension to List-Unsubscribe that adds the header List-Unsubscribe-Post: List-Unsubscribe=One-Click, letting the mail client unsubscribe the recipient with a single HTTPS POST and no further steps. Both headers must be covered by a valid DKIM signature, and Gmail expects requests honored within two days.

How one-click unsubscribe works

You add two headers. List-Unsubscribe holds an HTTPS URL (and optionally a mailto address). List-Unsubscribe-Post holds the fixed value List-Unsubscribe=One-Click, which tells the client it can unsubscribe with a single POST.

When the recipient clicks Unsubscribe in the inbox, the client posts List-Unsubscribe=One-Click to your URL. The URL must identify the recipient on its own, without cookies, logins or redirects to a page. RFC 8058 also requires a valid DKIM signature that covers both headers.

Who requires one-click unsubscribe

Google requires it from bulk senders, those sending more than 5,000 messages a day to personal Gmail accounts, on marketing and subscribed messages, along with a visible unsubscribe link in the body. Yahoo has the same requirement.

Transactional mail such as receipts and password resets does not need it. Most email platforms add the headers automatically on marketing sends.

Common one-click unsubscribe mistakes

Endpoints that only handle GET, or that answer the POST by showing a preference page instead of unsubscribing. Unsubscribe tokens that expire after a few days.

A DKIM signature that does not include the two headers in its h= list, and unsubscribes that are recorded but take longer than two days to reach every sending tool.

List-Unsubscribe: <https://example.com/unsub?u=8f3a2c91>, <mailto:unsub-8f3a2c91@example.com>
List-Unsubscribe-Post: List-Unsubscribe=One-Click
DKIM-Signature: v=1; a=rsa-sha256; d=example.com; s=s2026;
  h=from:to:subject:date:list-unsubscribe:list-unsubscribe-post; ...
The two headers, plus a DKIM signature whose h= list covers both, as RFC 8058 requires.

How RocketVerifier handles it

Paste a message's raw headers into our free email header analyzer to read its SPF, DKIM and DMARC results, which matter here because both unsubscribe headers must be covered by a passing DKIM signature. Our DKIM checker confirms the signing key is published. Once someone unsubscribes, add them to your RocketVerifier suppression list and the address comes back as do_not_mail if it ever reappears in an upload.

Go further

Sources

  1. RFC 8058: Signaling One-Click Functionality for List Email Headers
  2. Google: Email sender guidelines
  3. Yahoo Sender Hub: Sender best practices

FAQ

One-click unsubscribe: common questions

Is a mailto List-Unsubscribe enough?

Not for Gmail and Yahoo bulk sender rules. They expect the HTTPS one-click method from RFC 8058. Keeping a mailto address alongside it is fine and helps older clients.

Can I ask why someone is unsubscribing?

Not in the one-click flow, which must complete without any extra step. You can ask on the page behind the unsubscribe link in the message body, as long as the unsubscribe itself does not depend on the answer.

Does one-click unsubscribe lower complaint rates?

It usually does. A recipient who can leave from the inbox in one click has less reason to press Report spam, and unsubscribes do not count against your reputation the way complaints do.

Turn definitions into a cleaner list

Verify your first emails in minutes. Credits never expire, and unknown results are always free.

100 free credits · No card required · Credits never expire