RFC 8058: Signaling One-Click Functionality for List Email Headers

Defines the List-Unsubscribe-Post header enabling one-click unsubscribe, required by Google and Yahoo bulk sender rules since Feb 2024.
Alaa
By Alaa
SMTPedia documents email infrastructure end to end: SMTP standards from the RFC archive, delivera...
7 min read Updated Jul 22, 2026 177 views
RFC 8058
Signaling One-Click Functionality for List Email Headers
Current standard
Published
January 2017
Supersedes
First in series
SMTP relevance
foundational
↗ Read on rfc-editor.org

What this RFC defines

RFC 8058 defines the List-Unsubscribe-Post header, which enables one-click unsubscribe from email newsletters and marketing messages. When a supporting email client shows an Unsubscribe button, clicking it sends an HTTP POST to the URL in this header, rather than opening a browser or sending a reply email.

Where you see it in practice

The Unsubscribe link that appears at the top of Gmail and Apple Mail interfaces for newsletters uses the mechanism defined in RFC 8058. Google and Yahoo made RFC 8058 compliance mandatory for bulk senders (over 5,000 messages per day) starting February 2024. If your List-Unsubscribe-Post header is malformed or the endpoint fails to respond, these mailbox providers can classify your mail as spam.

How it connects to other RFCs

RFC 8058 works alongside RFC 2369 (which defines the older mailto: and http: List-Unsubscribe header). Both headers are typically included together: RFC 2369 for compatibility with older clients, RFC 8058 for one-click POST support in modern clients. The two complement rather than replace each other.

Current status

RFC 8058 is a current standard, published January 2017. It became practically mandatory in February 2024 when Google and Yahoo required one-click unsubscribe for bulk senders. All major ESPs now generate RFC 8058-compliant headers automatically.

One-click unsubscribe

RFC 8058 defined the List-Unsubscribe-Post header in February 2017, extending RFC 2369 with a “one-click” unsubscribe mechanism. The sender includes both List-Unsubscribe: and List-Unsubscribe-Post: List-Unsubscribe=One-Click in the headers. When a mail client wants to unsubscribe on behalf of the user, it sends an HTTP POST to the URL with body “List-Unsubscribe=One-Click”, and the server processes the unsubscribe without further user interaction.

Google and Yahoo enforcement

In February 2024, Google and Yahoo announced that bulk senders (5,000+ messages per day to their respective services) must implement RFC 8058 one-click unsubscribe by June 2024. This drove rapid adoption: most ESPs (Mailchimp, Klaviyo, HubSpot, SendGrid, Mailgun) added RFC 8058 support to their default templates within weeks. Any bulk sender not implementing one-click unsubscribe in 2026 sees measurable deliverability degradation to Gmail and Yahoo Mail recipients.

Implementation requirements

The RFC 8058 endpoint must accept HTTP POST (not just GET), respond within a short timeout (typically 5-10 seconds), and not require authentication beyond what is in the URL. The URL should include a signed or otherwise unguessable token so an attacker cannot mass-unsubscribe legitimate subscribers. The unsubscribe should take effect within 24 hours per Google requirements. Some senders use HTTPS-only endpoints; others require CSRF-token headers, though the RFC only mandates the POST body format.

Quick Reference

RFC 8058 (January 2017) defines Signaling One-Click Functionality for List Email Headers: the List-Unsubscribe-Post header that lets mail clients unsubscribe users with a single POST request without additional user interaction. Complements RFC 2369 List-Unsubscribe. Mandatory since February 2024 for bulk senders per Gmail and Yahoo Sender Requirements. Foundation for the toolbar “Unsubscribe” button that works in one tap in Gmail, Yahoo Mail, iCloud, and other modern clients.

RFC 8058 at a glance

AspectDetail
PurposeEnable one-click unsubscribe via HTTP POST without user interaction
HeaderList-Unsubscribe-Post: List-Unsubscribe=One-Click
Companion headerRFC 2369 List-Unsubscribe (must include HTTPS URL)
Client actionPOST to List-Unsubscribe HTTPS URL with body List-Unsubscribe=One-Click
Mandatory sinceFebruary 2024 (Gmail and Yahoo bulk sender requirements)
Effect timeWithin 24 hours per Gmail requirements
PublishedJanuary 2017

One-Click mechanism

RFC 8058 one-click unsubscribe headers and POST Sender emits these headers on every bulk message: List-Unsubscribe: <https://example.com/unsub?u=12345&t=abcxyz>, <mailto:unsubscribe-12345@example.com> List-Unsubscribe-Post: List-Unsubscribe=One-ClickClient toolbar button behavior: 1. Client parses List-Unsubscribe; finds HTTPS URL 2. Client sees List-Unsubscribe-Post: List-Unsubscribe=One-Click 3. Client issues HTTP POST to the HTTPS URL Body: List-Unsubscribe=One-Click Content-Type: application/x-www-form-urlencoded 4. Server responds HTTP 200 (or 2xx) 5. Client shows “Unsubscribed” confirmationServer-side processing: – Parse POST body; verify List-Unsubscribe=One-Click – Extract user identifier from URL parameters (u=12345) – Verify signed token (t=abcxyz) prevents forged unsubscribes – Mark user unsubscribed; take effect within 24 hoursNote: RFC 8058 does not require CSRF tokens or authentication on the POST; the URL parameters are considered sufficient because mail clients (not browsers) are making the POST. Some senders add HTTPS-only enforcement, rate limiting, or CSRF tokens for defense in depth.

Gmail and Yahoo 2024 requirements

RequirementGmail (Feb 2024)Yahoo (Feb 2024)
Bulk sender threshold5000+ messages per day to Gmail addresses5000+ messages per day to Yahoo addresses
List-Unsubscribe requiredYes (HTTPS URL)Yes (HTTPS URL)
One-Click required (RFC 8058)YesYes
Effect timeWithin 24 hoursWithin 24 hours
Spam complaint thresholdUnder 0.3% (target under 0.1%)Similar
Consequences of non-complianceReduced deliverability, spam folder placement, eventual blockingSimilar

Common One-Click implementation mistakes

Emitting List-Unsubscribe-Post without an HTTPS URL in List-Unsubscribe. RFC 8058 requires an HTTPS URL to POST to. A List-Unsubscribe header with only mailto: URLs cannot support one-click. Emit both mailto: and HTTPS URLs in List-Unsubscribe; HTTPS enables one-click, mailto: is fallback.
Requiring authentication on the unsubscribe endpoint. The One-Click POST comes from the mail client without user credentials. Requiring login defeats one-click semantics; the user has already implicitly confirmed by pressing the client’s unsubscribe button. Use signed tokens in the URL to identify the user without requiring authentication.
Ignoring URL parameters and only checking POST body. The user identifier is in the URL query parameters (e.g., ?u=12345&t=xyz). The POST body only contains List-Unsubscribe=One-Click as the trigger. Servers that ignore URL parameters cannot identify who to unsubscribe.
Slow unsubscribe processing. Gmail requires unsubscribes to take effect within 24 hours. Weekly batch processing violates this. Modern architecture: queue unsubscribes for near-real-time processing; ensure they are honored on the next send. Slow processing has real deliverability consequences.
Returning non-2xx status code on successful unsubscribe. RFC 8058 expects 2xx (200 OK typically) as success. Redirects (301, 302) may confuse mail clients that do not follow them. Errors (4xx, 5xx) indicate failure to the client. Return 200 OK on successful unsubscribe.
Mailing list header family
  • RFC 2369: List-* URL headers (List-Unsubscribe is required companion)
  • RFC 2919: List-Id (stable list identifier)
Bulk sender requirements references
  • RFC 7208: SPF (required by Gmail/Yahoo bulk requirements)
  • RFC 6376: DKIM (required)
  • RFC 7489: DMARC (required at p=none minimum)
SMTPedia companion guides

Frequently asked questions

Do I need RFC 8058 one-click for my newsletter?

Yes if you send 5000+ messages per day to Gmail or Yahoo addresses (per their February 2024 requirements). Below that threshold, RFC 8058 remains recommended but not strictly required. Any modern bulk sender should implement it: reduces spam complaints (users unsubscribe instead of marking spam), improves deliverability signals, and is user-friendly.

What is the difference between RFC 2369 List-Unsubscribe and RFC 8058 List-Unsubscribe-Post?

List-Unsubscribe (RFC 2369) provides URLs for the client to open on user click; user takes action (fills form, sends email). List-Unsubscribe-Post (RFC 8058) is a signal telling the client “you may POST to the HTTPS URL directly without user interaction.” Both are needed for the toolbar one-click button in Gmail/Yahoo. Emit both on every bulk message.

How do I secure the one-click endpoint against abuse?

Signed tokens in URL parameters. Include a token (t=abcxyz) that encodes the user ID and a signature; verify on POST that the token matches the claimed user ID. This prevents attackers from unsubscribing arbitrary users by guessing IDs. Additional defenses: rate limiting per source IP, HTTPS-only enforcement, refusing overly frequent unsubscribes for the same address. CSRF tokens are not strictly required per RFC 8058 (mail clients not browsers make the POST) but do not hurt.

What happens if the POST fails?

The client typically shows an error to the user, and the unsubscribe does not take effect. Mail clients should retry appropriately or fall back to the mailto: URL. Server-side: log the failure for investigation; monitor unsubscribe failure rates and address any recurring issues promptly (server errors, misconfigured endpoints impact deliverability).

How quickly must the unsubscribe take effect?

Within 24 hours per Gmail bulk sender requirements. This means the next sending job after the unsubscribe request must honor it. Weekly batch processing is too slow. Modern architecture: queue unsubscribes for processing every few minutes or in real-time; verify on each send that the recipient is still opted in. Slow processing has direct deliverability impact.


About the Author

Alaa - SMTPedia author

Alaa · LinkedIn

Email infrastructure specialist with 8+ years of hands-on experience in SMTP, deliverability, and email verification. I’ve configured and troubleshot mail systems across Postfix, Exchange, and cloud relays, managed IP reputation and warmup campaigns, and built verification pipelines processing millions of addresses. My work spans DNS authentication (SPF, DKIM, DMARC, BIMI), bounce handling, blocklist monitoring, and compliance frameworks including CAN-SPAM and GDPR. I write every article on SMTPedia to give email professionals, developers, and marketers the accurate, RFC-grounded reference they need.


About SMTPedia

SMTPedia is an independent email industry reference covering SMTP, IMAP, POP3, email deliverability, marketing platforms, DNS authentication, and email verification. Every article is researched from official provider documentation, IETF RFCs, and industry best practices. Settings and configurations are verified quarterly.

We are cited as a source by ChatGPT, Microsoft Copilot, and thousands of email professionals worldwide. Learn more about our editorial process.