Site AI Auditby Internet Solutions

One-Click Unsubscribe: How List-Unsubscribe Headers Work

26 tháng 8, 20267 phút đọcKhả năng gửi e-mail
One-Click Unsubscribe: How List-Unsubscribe Headers Work

Short answer: One-click unsubscribe lets recipients leave a mailing list with a single click on an “Unsubscribe” button shown by their mail app, without visiting a website or logging in. It works through two e-mail headers defined in RFC 8058: List-Unsubscribe with an HTTPS URL, and List-Unsubscribe-Post: List-Unsubscribe=One-Click. Gmail and Yahoo require it for bulk marketing mail, together with a visible unsubscribe link in the message and processing of requests within two days.

Why one-click unsubscribe matters

When unsubscribing is hard, recipients use the tool that is always one click away: the “Report spam” button. For them the effect is the same, the mail stops. For you it is very different. A spam report damages your sender reputation, while an unsubscribe simply removes a person who no longer wants your mail.

Mailbox providers know this, which is why they show their own unsubscribe button next to the sender name when a message carries the right headers. Gmail and Yahoo made one-click unsubscribe a requirement for bulk senders in 2024 for marketing and subscribed messages. It lowers complaint rates, respects recipients and makes lists healthier, because people who are not interested leave instead of silently ignoring you.

Some senders worry that a visible unsubscribe button will shrink their list. It does, but mostly by removing people who were not reading anyway. Those contacts drag down engagement, which filters also watch, so a slightly smaller list of interested readers usually performs better than a large list full of silent ones.

There is also a legal side. Many privacy and marketing laws require an easy way to opt out of commercial messages. One-click headers are not a legal requirement in themselves, but they support the principle that leaving should be as easy as joining.

The two headers

List-Unsubscribe has existed for a long time (RFC 2369). It contains one or more URIs in angle brackets, separated by commas:

List-Unsubscribe: <https://example.com/unsub?id=abc123>, <mailto:[email protected]?subject=unsubscribe>

On its own, an HTTPS link in this header could be opened by a mail client, but that is risky: security scanners and link-preview systems also open links, and a simple GET request that unsubscribes someone could remove people who never asked.

List-Unsubscribe-Post, defined in RFC 8058, solves that. When present with the exact value List-Unsubscribe=One-Click, it tells the mail provider to send an HTTP POST request to the HTTPS URL with the body List-Unsubscribe=One-Click. Scanners do not send POST requests of this kind, so accidental unsubscribes are avoided, and the provider can unsubscribe the recipient in the background without opening a page.

Technical requirements that are easy to miss

Which messages need it

Message typeOne-click unsubscribe expected?
Newsletters and promotionsYes
Product announcements and marketing automationYes
Subscribed content, such as digests and blog updatesYes
Order confirmations, receipts, shipping updatesNo, these are transactional
Password resets and security alertsNo
One-to-one business correspondenceNo

A useful test: if the recipient could reasonably say “I don’t want these any more” without losing access to a service they use, the message needs an unsubscribe option. Be honest about classification. Promotional content inserted into “transactional” mail makes it marketing mail.

How to set it up

If you use an e-mail marketing platform, it very likely adds both headers already. Check the platform’s documentation and confirm by viewing the headers of a campaign sent to your own Gmail address. Make sure your custom domain DKIM is active, because the headers must be covered by a valid signature, ideally one aligned with your domain.

If you send from your own system, such as a web application or a CRM with custom sending:

  1. Create an unsubscribe endpoint on HTTPS that accepts POST requests with the body List-Unsubscribe=One-Click, identifies the recipient from a token in the URL, and records the opt-out immediately.
  2. Let the same URL respond to GET with a simple confirmation page, for recipients who click it manually, without auto-unsubscribing on GET.
  3. Add both headers to each marketing message, with a per-recipient token.
  4. Make sure your DKIM signing includes those headers in its signed header list (h=).
  5. Keep a visible unsubscribe link in the message body or footer as well.

Log every unsubscribe with a timestamp and the source (header, footer link, reply). The log helps when someone later claims they unsubscribed and kept receiving mail, and it shows whether a particular campaign triggered unusually many opt-outs. A spike in unsubscribes after one message is useful feedback: the content, the audience or the frequency did not match what those people signed up for.

If an agency or developer builds the endpoint for you, ask for a short test plan covering POST, GET, invalid tokens and repeated requests. Repeated requests should simply succeed again, not produce errors, because providers may retry.

How to test it

  1. Send a campaign to a personal Gmail account.
  2. Check whether Gmail shows an “Unsubscribe” option next to the sender name. Gmail may not display it for every message or sender, especially at low volumes, so its absence is not always an error.
  3. Use “Show original” to confirm both headers are present and that DKIM passes.
  4. Check the DKIM-Signature header’s h= list for List-Unsubscribe and List-Unsubscribe-Post.
  5. Test the endpoint directly with a POST request using a test token, and confirm the address is removed from the list.
  6. Send another campaign and confirm the test address no longer receives it.

Processing unsubscribes on time

Google and Yahoo expect unsubscribe requests to be honoured within two days. That sounds easy, but lists often live in several systems: the newsletter tool, the CRM, the e-commerce platform and spreadsheets used for one-off campaigns. An unsubscribe recorded in one place and ignored in another leads to exactly the complaint you wanted to avoid.

Common mistakes

The authentication behind it

One-click unsubscribe relies on DKIM, and the bulk sender rules that require it also require SPF, DKIM and DMARC. Site AI Audit checks those records, SPF with its lookup limit, DKIM, DMARC and MX, and explains each finding in plain words, so you can confirm the foundation is in place. A free check shows the current state; paid plans keep watching and alert you when a record breaks.

Related reading

The bottom line

One-click unsubscribe turns would-be spam complaints into clean opt-outs. Add List-Unsubscribe with an HTTPS URL and List-Unsubscribe-Post: List-Unsubscribe=One-Click, cover both with a valid DKIM signature, keep a visible link in the message, and honour every request within two days across all your systems.

FAQ

What is RFC 8058?

RFC 8058 is the standard that defines one-click unsubscribe using the List-Unsubscribe-Post header. It tells mail providers to unsubscribe a recipient with an HTTPS POST request, avoiding accidental unsubscribes by link scanners.

Do transactional e-mails need a List-Unsubscribe header?

No. Receipts, password resets and account alerts are transactional. The requirement applies to marketing and subscribed messages.

Is a mailto unsubscribe enough?

Not for one-click under current bulk sender requirements. An HTTPS URL with the List-Unsubscribe-Post header is needed; mailto can be added as an extra option.

Why doesn’t Gmail show the unsubscribe button for my mail?

Gmail decides when to display it, and may not show it for low-volume senders or every message. Check that both headers are present, covered by a passing DKIM signature and that the URL uses HTTPS.

How fast must I process unsubscribes?

Google and Yahoo expect requests to be honoured within two days. Many laws also require prompt processing, so immediate removal is the safest practice.

Can I ask people why they are unsubscribing?

Yes, on the confirmation page after the unsubscribe has been processed. The question must not be a condition for leaving the list.

#Bulk Senders#Email Deliverability#Email Marketing#Spam Filters
Hãy kiểm tra website của chính bạn — miễn phí.Website của bạn cần sửa gì — và nên bắt đầu từ đâu.
Bắt đầu miễn phí
Internet Solutions

Sản phẩm khác từ đội ngũ chúng tôi

Do Internet Solutions phát triển. Hãy thử các sản phẩm khác của chúng tôi — mỗi sản phẩm giúp bạn tiết kiệm thời gian theo một cách riêng.

internet-solutions.net ↗
01Tự động đăng mạng xã hội
PostRSS

Bài mới từ nguồn cấp RSS của bạn được tự động đăng lên Facebook, X, LinkedIn, Telegram và hơn 60 mạng khác.

Gói miễn phí · từ 2014Truy cập →
02Chat trực tuyến AI cho website
Talkmio

Website của bạn trả lời khách truy cập 24/7 từ chính nội dung của bạn, bằng ngôn ngữ của họ.

Gói miễn phí · không cần thẻTruy cập →
03Trợ lý AI
Ask Mio

Trò chuyện, viết code, thiết kế, viết bài và nghiên cứu. Mio chọn mô hình tốt nhất cho từng việc.

Gói miễn phíTruy cập →
04Lái tự động AI cho blog và mạng xã hội
AI Blog Autopilot

AI viết bài SEO dài 2.000–3.000 từ và chia sẻ từng bài lên hơn 58 mạng xã hội.

3 bài đầu tiên miễn phíTruy cập →
05Thu thập SEO chuyên sâu
Site SEO AI Audit

Thu thập SEO toàn diện trên 7 lĩnh vực, gồm cả khả năng hiển thị trong tìm kiếm AI, với cách sửa xếp theo mức tác động.

Lần kiểm tra đầu tiên miễn phíTruy cập →
06Nguồn cấp RSS và sản phẩm
RSS Feed Creator

Tạo RSS từ bất kỳ trang web nào, cùng nguồn cấp sản phẩm cho Google và Meta tự động cập nhật.

Gói miễn phíTruy cập →
07Phát triển website và SEO
Internet Solutions

Website, cửa hàng trực tuyến và hệ thống theo yêu cầu, do đội ngũ của chúng tôi thiết kế, xây dựng và vận hành.

Từ 2011Truy cập →
Site AI Audit
Tổng quan quyền riêng tư

Website này dùng cookie để mang lại trải nghiệm người dùng tốt nhất có thể. Thông tin cookie được lưu trong trình duyệt của bạn và thực hiện các chức năng như nhận ra bạn khi bạn quay lại, giúp đội ngũ chúng tôi hiểu phần nào của website bạn thấy thú vị và hữu ích nhất.