One-click unsubscribe (List-Unsubscribe-Post): what Gmail and Yahoo now expect
Gmail and Yahoo require marketing emails from bulk senders to carry two headers, List-Unsubscribe and List-Unsubscribe-Post, so people can leave with a single tap, and to stop mailing them within two days. You still need a visible unsubscribe link in the footer too.
· 5 min read · 854 views · by the Cortex Digital Hub team
Add your brand once and every email gets a compliant footer with your address and a visible unsubscribe link, the part of unsubscribing people see. Free · up to 15 test emails a day
Build an email with a compliant footer → → Opens Email Composer · runs in your browser
One click unsubscribe means a recipient can leave your list with a single tap in their inbox, with no website, login or confirmation page. Technically it is two email headers defined in RFC 8058: List-Unsubscribe, carrying an HTTPS URL, and List-Unsubscribe-Post: List-Unsubscribe=One-Click. Since 2024, Gmail and Yahoo require both on marketing mail from bulk senders, and ask that you honour each request within two days. Gmail then shows an Unsubscribe link beside your sender name. You still need a visible unsubscribe link in your footer as well, because not every app shows the header button.
What the one click unsubscribe headers look like
A compliant marketing email carries these two headers:
List-Unsubscribe: <https://yourdomain.com/unsub/8f3a2c91e7>, <mailto:[email protected]?subject=8f3a2c91e7>
List-Unsubscribe-Post: List-Unsubscribe=One-Click
Three details matter:
- The HTTPS URL carries a unique token per recipient (and often per campaign), so your server knows who to remove without asking.
- The mailto address is optional but useful. Some clients still unsubscribe by sending an email.
- Both headers must be covered by your DKIM signature. RFC 8058 asks for this so nobody can tamper with them in transit. Most sending services handle this automatically; check with yours. A refresher on signatures is in how DKIM works.
What happens when someone taps Unsubscribe
Gmail does the POST; your endpoint does the rest without any page.
- Gmail shows Unsubscribe next to your sender name, or offers it when someone reports spam.
- The person taps it and confirms in Gmail's own dialog.
- Gmail sends an HTTPS
POSTto your URL with the bodyList-Unsubscribe=One-Click. - Your server reads the token, suppresses that address and returns a success response.
- From then on, that address is excluded from every marketing list you hold.
The POST matters. Security scanners in company mailboxes follow links with GET requests to check them. If your URL unsubscribed people on GET, scanners would unsubscribe readers who never asked. RFC 8058 avoids that by making the action happen only on POST.
What your unsubscribe endpoint must do
If your platform handles unsubscribes, it does all of this for you. If you build your own sending, for example on Amazon SES with your own code, the endpoint behind the URL needs to:
- Accept
POSTover HTTPS and respond quickly with a 200 or 202 status, without redirects. - Identify the recipient from the token alone. Do not ask for their email address; the token should be unguessable and tied to one address.
- Suppress the address at once, across every marketing list, not only the one the email came from, unless you offer list-level choices elsewhere.
- Keep a record of when and how the person unsubscribed. Consent records matter if anyone later asks why you stopped or kept mailing them.
- Leave transactional mail alone. Someone who unsubscribes from offers still needs their site visit confirmation or payment receipt.
A token that expires after a few weeks is fine for the header URL, as long as the footer link in older emails still lets people leave by another route.
What Gmail and Yahoo require
The rules sit inside the wider Gmail and Yahoo bulk sender requirements:
| Rule | Detail |
|---|---|
| Who | Bulk senders, about 5,000+ a day to Gmail; Yahoo gives no fixed number |
| Which mail | Marketing and subscribed messages |
| Exempt | Transactional mail: OTPs, receipts, booking confirmations |
| Headers | List-Unsubscribe with HTTPS URL plus List-Unsubscribe-Post |
| Speed | Honour within two days |
| Footer | A visible unsubscribe link in the body as well |
Gmail's Postmaster Tools compliance view flags missing one-click headers, as of 2026. If you are unsure which of your emails count as marketing, transactional vs marketing email covers the line. A booking confirmation that also promotes a new tower is marketing for this purpose.
Why the footer link still matters
The header button only appears in some clients, and Gmail decides when to show it. Apple Mail, Outlook and many Android apps vary. Your footer link is the version everyone can see, and it is what laws expect. CAN-SPAM in the US requires a clear opt-out in commercial email, and under India's DPDP Act withdrawing consent should be as easy as giving it. This is general information, not legal advice.
Keep the footer link one step: it can open a page that confirms "You're unsubscribed" or offers fewer emails instead, but never a login. A good footer also gives your postal address and why the person is receiving the email; the email footer guide covers the full layout. The Email Composer adds a compliant footer with your address and unsubscribe link to every email it builds.
Making leaving easy also protects you. People who cannot find the way out press Report spam instead, and complaints hurt far more than unsubscribes, as spam complaint rate explains.
Common mistakes
Most failures come from login pages, GET handlers and suppressions that don't sync.
- Unsubscribing on GET. Link scanners trigger it. Only act on POST.
- A login or form on the one-click URL. It must work with no page at all.
- mailto only. It does not meet the one-click requirement.
- Suppression not shared. The person leaves the newsletter list but the next CSV import from your CRM adds them back. Sync suppressions to the source. If leads flow from an LMS through an API, the LMS connection guide shows where contacts enter.
- Unsigned headers. Added after DKIM signing, so they do not count.
- Slow processing. A batch job that runs weekly breaks the two-day rule.
How to test it
- Send a campaign to your own Gmail address and choose Show original. Confirm both headers are present and DKIM says PASS.
- Check
h=in the DKIM-Signature header listslist-unsubscribeandlist-unsubscribe-post. - Send a POST to the URL yourself:
curl -X POST -d "List-Unsubscribe=One-Click" "https://yourdomain.com/unsub/8f3a2c91e7"
- Confirm the address now appears as suppressed, and that a GET to the same URL does not unsubscribe.
If you send through your own provider via Sending setup, check how that provider adds List-Unsubscribe headers; services differ, and the email providers comparison is a starting point.
The short version
- Two headers, an HTTPS URL, a POST handler, suppression within two days.
- A visible footer link as well, with no login.
- Suppressions synced back to every system that feeds your lists.
Frequently asked questions
What is one-click unsubscribe?
It is a standard, defined in RFC 8058, that lets a mailbox like Gmail unsubscribe someone directly from the inbox. Your email carries two headers; when the person taps Unsubscribe, Gmail sends a POST request to your URL and you stop mailing them.
Is one-click unsubscribe mandatory?
For bulk senders to Gmail and Yahoo, yes, on marketing and subscribed messages, since 2024. Transactional emails such as OTPs, receipts and booking confirmations are exempt. Microsoft asks for a working unsubscribe link but, as of 2026, has not explicitly required RFC 8058.
How quickly must I process an unsubscribe?
Gmail and Yahoo ask senders to honour unsubscribes within two days. Build it so the address is suppressed immediately, because a person who gets another email after unsubscribing is very likely to report spam.
Is a mailto unsubscribe enough?
No, not for one-click. RFC 8058 needs an HTTPS URL in the List-Unsubscribe header plus the List-Unsubscribe-Post header. You can include a mailto address as well, as a fallback for clients that use it.
Do I still need an unsubscribe link in the footer?
Yes. Many apps and webmail clients do not show the header-based button, and laws such as CAN-SPAM expect a visible way to opt out. The footer link can open a simple page, but it should work without a login.
Why doesn't Gmail show the Unsubscribe link next to my name?
Gmail decides when to show it. It needs valid headers covered by your DKIM signature, and it may not appear for low-volume or newer senders. Check Show original to confirm the headers are present and DKIM passes.
Can the unsubscribe link go to a preference centre?
The footer link can, as long as unsubscribing from everything is one obvious click on that page. The one-click header URL cannot: it must unsubscribe on the POST request itself, with no page or confirmation.
Build an email with a compliant footer → →