New guide: how to warm up a dedicated IP without hurting your reputation. Read now →
Log in
MigoSMTP
SMTP and APIUpdated 26 Oct 2026

The List-Id Header: Identifying Mailing Lists, Filtering Mail and Getting Gmail to Group Your Campaigns

What the List-Id header is, its syntax under RFC 2919, how mail clients and filters use it, how it relates to List-Unsubscribe and Precedence, how to choose identifiers per stream and common mistakes.

ML
Written by Mei Lin Tan
Email Analytics Analyst
Reviewed by Jonas Lindqvist
  • Published2 Mar 2025
  • Read time6 min
  • Length1,285 words
Share this guide

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.

PurposeA stable, globally unique label for a mailing list or mail stream
SyntaxList-Id: Description <identifier.domain> defined in RFC 2919
Used byFilters, mail clients, spam systems and feedback reporting
RuleKeep the identifier constant for a given stream; never reuse it for unrelated mail

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

ConsumerUse of List-Id
Mail clients and rulesFilter, label or move messages by the list identifier instead of fragile subject or sender patterns
Corporate gatewaysTreat known lists differently, for instance allow bulk mail from approved lists
Spam and bulk classifiersGroup messages of the same stream and learn its engagement and complaint history
Feedback and complaint toolsSome feedback systems show List-Id or similar identifiers so senders can see which stream drew the complaint
Threading and archivesMailing list archives use the identifier to file messages under the right list
Your own analyticsTag 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

HeaderRoleNotes
List-IdNames the list or streamConstant per stream
List-Unsubscribe and List-Unsubscribe-PostGives the client a machine-readable way to unsubscribe, including one-clickRequired in practice for bulk senders at large providers. See bulk sender requirements
List-Help, List-Subscribe, List-Owner, List-Archive, List-PostOptional helper links from RFC 2369Useful for real discussion lists; rarely needed for newsletters
Precedence: bulk (or list)Older hint that the message is bulk and should not trigger auto-repliesStill seen; not a substitute for the standard headers
Auto-SubmittedMarks machine-generated mail so responders do not replyUse auto-generated for notifications. See the null sender
Feedback-IDSome providers accept a custom identifier for stream-level complaint reportingCheck 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:

StreamExample List-IdWhy separate
Product newsletternewsletter.mail.example.comOpt-in marketing with its own engagement history
Product announcementsannounce.mail.example.comLower frequency, different audience
Billing and receiptsbilling.mail.example.comTransactional; should never share fate with marketing
Security noticessecurity.mail.example.comCritical mail with the highest priority
Digest or activity summariesdigest.mail.example.comPeriodic, automated and often user-configured
Tenant-specific mail on a platformt-4821.mail.example.comLets 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

  1. Decide the stream structure and write the list of identifiers down in your documentation.
  2. Add the header in your sending code or template rule, based on the stream rather than the individual message.
  3. Confirm that your relay or platform does not strip or duplicate the header. Send a test and read the received source.
  4. Check that the identifier uses a domain you control and that it is the same for every message in the stream.
  5. Combine it with a working unsubscribe link and List-Unsubscribe headers.
  6. 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.

See the relay

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.

Topics#headers#list-id#bulk mail#filtering#mailing lists
Was this guide helpful?Your answer helps us improve our documentation.

Start sending in minutes.

Create an account, add your domain and send your first email.

Get started Talk to sales