Sendopedia is published by JG Invest PSA, the company that also owns NetSendo, one of the email marketing tools listed in this catalog. How we make money · How we evaluate tools

What is one-click unsubscribe (RFC 8058)?

One-click unsubscribe (RFC 8058): A standard (RFC 8058) letting a mailbox provider unsubscribe a recipient from a mailing list with one HTTPS POST, signaled by List-Unsubscribe headers.

Last reviewed:

One-click unsubscribe is a mechanism, standardized in RFC 8058, that lets a mailbox provider unsubscribe a recipient from a mailing list with a single HTTPS POST request, without the recipient visiting a web page or sending an email. It extends the List-Unsubscribe header defined in RFC 2369.

How it works

RFC 2369 (July 1998) defined List-Unsubscribe, a header that carries one or more mailto: or web URIs in angle brackets. RFC 8058 (January 2017) adds a second header that signals one-click support. A compliant message:

  1. includes one HTTPS URI in List-Unsubscribe (a mailto: URI may also be present);
  2. includes List-Unsubscribe-Post: List-Unsubscribe=One-Click;
  3. carries a valid DKIM signature whose h= tag covers both headers.
List-Unsubscribe: <https://example.com/unsubscribe/7f3a9c2e>, <mailto:unsubscribe@example.com?subject=unsubscribe>
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; bh=...; b=...

When the user chooses unsubscribe in the mail client, the mailbox provider sends an HTTPS POST to the URI with the body List-Unsubscribe=One-Click. The POST carries no cookies or HTTP authorization, so the URI should contain an opaque, hard-to-forge identifier for the subscriber and list. The sender must not answer with an HTTPS redirect, and the receiver must not send the POST without user consent.

Why it matters for marketers

Since February 2024, Gmail and Yahoo have required bulk senders to support one-click unsubscribe in marketing and subscribed messages; Google gave senders that already had unsubscribe links until June 1, 2024. Transactional messages are excluded.

Provider Accepted method Processing window
Gmail RFC 8058 with one HTTPS URL; mailto: alone does not meet the requirement 48 hours
Yahoo RFC 8058 POST "highly recommended"; mailto: acceptable 2 days

Gmail also requires a clearly visible unsubscribe link in the message body. Its sender guidelines FAQ lists missing one-click unsubscribe and unsubscribe requests not honored within 48 hours as conditions under which delivery support or mitigations are unavailable.

Common mistakes

  • Unsubscribing on any GET request. RFC 8058 notes that anti-spam software often fetches header URIs automatically, which can cause accidental unsubscriptions.
  • Pointing the HTTPS URI at a page that requires login or a confirmation click, so the POST does not complete the unsubscribe.
  • Signing with DKIM but leaving List-Unsubscribe and List-Unsubscribe-Post out of h=.
  • Returning a redirect from the unsubscribe endpoint.
  • Using sequential or guessable identifiers in the URI.
  • Accepting the request but suppressing the address only in one list or system, so mail continues after the deadline.

Related terms

Sources

  1. RFC 8058: Signaling One-Click Functionality for List Email Headers
  2. RFC 2369: The Use of URLs as Meta-Syntax for Core Mail List Commands and their Transport through Message Header Fields
  3. Google: Email sender guidelines
  4. Google: Email sender guidelines FAQ
  5. Yahoo Sender Hub: Sender Best Practices