Mailing list software has long added a small header to every message so that recipients and their mail clients can tell which list a message belongs to. That header is List-Id. It is simple, optional and widely understood, and for senders of newsletters, product updates and notifications it brings real benefits: recipients can build a filter that does not break when a subject line changes, spam and bulk classifiers get a stable identifier for a stream of mail, and you gain a tidy way to label campaigns in complaint reports. This guide explains the syntax, how receivers use it, how it fits with the other bulk-mail headers, how to choose identifiers and what to avoid. It builds on List-Unsubscribe, reading email headers and Message-ID.
Syntax
List-Id: "Product updates" <product-updates.mail.example.com>
List-Id: Billing notices <billing.mail.example.com>
List-Id: <weekly.news.example.com>The value contains an optional human-readable phrase and a list identifier inside angle brackets. The identifier is a string in the form of a domain name, in which the part after the first dot should be a domain you control, and the part before it is a local label that you choose. Because the domain part belongs to you, no one else should produce the same identifier, which is what makes it globally unique. The identifier is not an email address and does not need to resolve in DNS, but using a real subdomain you control avoids collisions and looks professional. Only one List-Id header is allowed per message.
How receivers use it
| Consumer | Use of List-Id |
|---|---|
| Mail clients and rules | Filter, label or move messages by the list identifier instead of fragile subject or sender patterns |
| Corporate gateways | Treat known lists differently, for instance allow bulk mail from approved lists |
| Spam and bulk classifiers | Group messages of the same stream and learn its engagement and complaint history |
| Feedback and complaint tools | Some feedback systems show List-Id or similar identifiers so senders can see which stream drew the complaint |
| Threading and archives | Mailing list archives use the identifier to file messages under the right list |
| Your own analytics | Tag log events and reports with the stream |
Major mailbox providers do not publish exactly how List-Id contributes to their decisions, so treat it as one of several consistency signals rather than a guaranteed deliverability lever. What is clear is that bulk senders who label their mail consistently are easier for both filters and people to manage.
How it fits with the other bulk-mail headers
| Header | Role | Notes |
|---|---|---|
| List-Id | Names the list or stream | Constant per stream |
| List-Unsubscribe and List-Unsubscribe-Post | Gives the client a machine-readable way to unsubscribe, including one-click | Required in practice for bulk senders at large providers. See bulk sender requirements |
| List-Help, List-Subscribe, List-Owner, List-Archive, List-Post | Optional helper links from RFC 2369 | Useful for real discussion lists; rarely needed for newsletters |
| Precedence: bulk (or list) | Older hint that the message is bulk and should not trigger auto-replies | Still seen; not a substitute for the standard headers |
| Auto-Submitted | Marks machine-generated mail so responders do not reply | Use auto-generated for notifications. See the null sender |
| Feedback-ID | Some providers accept a custom identifier for stream-level complaint reporting | Check each provider's documentation before relying on it |
Choosing identifiers
Treat the identifier as a stable name for a category of mail, not a campaign name that changes every week. A good scheme separates streams by purpose and audience, because these are the groups that recipients and providers can reasonably tell apart:
| Stream | Example List-Id | Why separate |
|---|---|---|
| Product newsletter | newsletter.mail.example.com | Opt-in marketing with its own engagement history |
| Product announcements | announce.mail.example.com | Lower frequency, different audience |
| Billing and receipts | billing.mail.example.com | Transactional; should never share fate with marketing |
| Security notices | security.mail.example.com | Critical mail with the highest priority |
| Digest or activity summaries | digest.mail.example.com | Periodic, automated and often user-configured |
| Tenant-specific mail on a platform | t-4821.mail.example.com | Lets a platform tell its customers' streams apart. See tenant sending |
Avoid putting personal data or customer email addresses into the identifier. Do not use a different value per recipient; the identifier names the list, not the person. For one-off campaigns, keep the same stream identifier and put the campaign name into a separate custom header or your own tracking tags. See message tags.
Adding it to your mail
- Decide the stream structure and write the list of identifiers down in your documentation.
- Add the header in your sending code or template rule, based on the stream rather than the individual message.
- Confirm that your relay or platform does not strip or duplicate the header. Send a test and read the received source.
- Check that the identifier uses a domain you control and that it is the same for every message in the stream.
- Combine it with a working unsubscribe link and List-Unsubscribe headers.
- Monitor placement and complaints per stream so the label pays off in your analysis.
# Example: setting headers with a typical API payload (pseudo-JSON)
{
"from": "[email protected]",
"to": "[email protected]",
"subject": "Your weekly update",
"headers": {
"List-Id": "Weekly update <weekly.mail.example.com>",
"List-Unsubscribe": "<https://mail.example.com/u/abc>, <mailto:[email protected]>",
"List-Unsubscribe-Post": "List-Unsubscribe=One-Click"
}
}Platforms and multi-tenant senders
If you operate a platform that sends on behalf of customers, the identifier becomes even more useful. A scheme such as one subdomain label per customer and per stream lets you answer questions like "which customer stream produced these complaints" in seconds, and lets recipients filter one customer's mail without touching another's. Keep a registry of identifiers, generate them from account and stream records rather than typing them by hand and never recycle an identifier after a customer leaves, because old messages may still sit in recipients' filters. If customers send from their own domains, the identifier can still sit under your domain, since it names the stream rather than the visible sender.
Common mistakes
- Changing the identifier for every campaign. It defeats the purpose of a stable label.
- Using one List-Id for marketing and transactional mail. Receivers cannot tell the streams apart, and complaints about one may affect the other.
- Putting a domain you do not control in the identifier. It risks collisions and looks careless.
- Sending several List-Id headers. The standard allows one.
- Using it as a replacement for unsubscribe. It identifies the list; it does not let anyone leave it.
- Adding it to one-to-one personal messages. A List-Id on genuine conversations can cause them to be filtered as bulk.
- Forgetting to test after a platform change. Migrations and relays sometimes rewrite or drop custom headers.
Recipient-side filtering example
Because List-Id does not change when a subject line changes, many people use it for rules. In a mail client that supports header-based rules, a recipient can match the List-Id header and apply a label or move the mail into a folder. Administrators do the same on a server with a Sieve rule such as if header :contains "List-Id" "newsletter.mail.example.com" { fileinto "Newsletters"; }. When you support internal staff or business customers, publish your identifiers in your help pages so they can build reliable rules and allowlists without relying on sending IP addresses that may change. See gateway allowlisting.
List-Id is a modest header with a clear job. Give each stream a stable identifier on a domain you control, pair it with proper unsubscribe headers and keep marketing and transactional mail separate, and both receivers and your own reporting will thank you.
Send labelled, authenticated mail Add custom headers through the relay or API.
References and further reading
Frequently asked questions
What is the List-Id header?
A header that gives a mailing list or mail stream a stable, globally unique identifier, defined in RFC 2919.
Is List-Id required for bulk email?
No, it is optional, but it helps filtering and is good practice alongside the required unsubscribe headers.
Should I use one List-Id for all my mail?
No. Use a separate identifier for each stream, especially to keep marketing and transactional mail apart.
Does List-Id replace List-Unsubscribe?
No. List-Id names the list; List-Unsubscribe lets the recipient leave it.
Can I change the identifier between campaigns?
You should not. Keep it constant for the stream and track campaigns with separate tags.