RFC 8058 & Gmail/Yahoo 2026 Sender Guidelines

RFC 8058 One-Click List-Unsubscribe Header Generator

Google Gmail and Yahoo Mail mandate one-click unsubscribe headers for marketing and bulk email senders. Generate your RFC 8058 MIME headers and copy-paste integration snippets.

Mandatory for Gmail & Yahoo RFC 8058 one-click unsubscribes. Must accept HTTP POST.

Legacy fallback for older email clients (Apple Mail, Outlook desktop).

Generated RFC 8058 MIME Headers

List-Unsubscribe: <https://example.com/api/unsubscribe?id={{user_id}}>, <mailto:unsubscribe@example.com?subject=Unsubscribe>
List-Unsubscribe-Post: List-Unsubscribe=One-Click

Integration Snippet

// Node.js Nodemailer configuration
const transporter = nodemailer.createTransport({
  host: 'smtp.centricsell.com',
  port: 587,
  auth: { user: process.env.SMTP_USER, pass: process.env.SMTP_PASS }
});

await transporter.sendMail({
  from: '"Brand Team" <newsletter@example.com>',
  to: user.email,
  subject: 'Your Weekly Digest',
  html: '<p>Content...</p>',
  headers: {
    'List-Unsubscribe': '<https://example.com/api/unsubscribe?id={{user_id}}>, <mailto:unsubscribe@example.com?subject=Unsubscribe>',
    'List-Unsubscribe-Post': 'List-Unsubscribe=One-Click'
  }
});

What is RFC 8058 One-Click Unsubscribe?

RFC 8058 specifies an automated mechanism for email clients (like the webmail interface of Gmail or Apple Mail) to present an "Unsubscribe" banner at the very top of the email. When clicked, the mail client sends an HTTP POST request directly to the sender's HTTPS endpoint with the payload List-Unsubscribe=One-Click.

Why is It Critical for Deliverability?

If recipients cannot easily find an unsubscribe button, they click "Report Spam" instead. Maintaining a spam complaint rate below 0.1% (and never above 0.3%) is required by Google. Providing one-click unsubscribe converts would-be spam complaints into clean, harmless opt-outs.

Automate one-click unsubscribes effortlessly

CentricSell Mail injects RFC 8058 headers automatically and suppresses unsubscribed contacts from future campaigns.

Get Started Free