Suped

Will ISPs respect custom headers added to outbound emails for tracking replies when the subject line changes?

Michael Ko profile picture
Michael Ko
Co-founder & CEO, Suped
Published 11 Jun 2025
Updated 16 Aug 2025
8 min read
When you send an email, particularly for tracking replies, it's natural to consider adding custom headers to carry unique identifiers. The idea is that these headers will persist through a reply, allowing you to link the incoming response back to the original outbound message, even if the subject line changes. This approach seems logical from a technical perspective, but the reality of how Internet Service Providers (ISPs) and mail clients (also known as Mail User Agents or MUAs) handle email headers, especially in replies, is more complex than it appears.
The core question revolves around whether these custom headers will be retained in a recipient's reply. Many email systems are designed to be robust, but their primary goal is to ensure message delivery and proper threading, not necessarily to preserve arbitrary custom data through a reply chain. This distinction is crucial for anyone relying on such headers for their tracking or automation workflows.
Understanding the underlying email specifications and the practical implementations by major ISPs and email clients is key to setting realistic expectations. We’ll explore why custom headers are generally not the solution for reply tracking and what alternative, more reliable methods exist to achieve your goals.

The role of email headers in threading

Email threading, the process by which related messages are grouped into a conversation, primarily relies on a few standard headers. The most critical of these are Message-ID, In-Reply-To, and References. When a user clicks 'reply' in their mail client, the client (MUA) generates a new email. This new email's headers are populated by taking the original message's Message-ID and placing it in the In-Reply-To header of the reply. The References header then lists the Message-IDs of all preceding messages in the conversation chain. This is how email clients understand and group messages, as defined by RFC 2822.
gmail.com logoGmail, for instance, utilizes both the subject line and these In-Reply-To and References headers for its threading algorithm. If the subject line changes, some mail clients might break the thread, causing the reply to appear as a new, unthreaded email. This highlights that relying solely on subject line consistency, or expecting custom headers to magically bridge such gaps, is often a misguided approach.
ISPs and mail clients are primarily focused on standard compliance and ensuring a smooth user experience. This means they adhere to well-defined protocols for email communication. They do not typically have mechanisms or incentives to preserve non-standard, custom headers in replies, as these headers are not part of the standard email reply process. Google’s sender guidelines and similar documentation from other major providers focus on best practices for deliverability, not on supporting custom tracking headers in replies.

Why custom headers often fall short

When a recipient composes a reply, their mail client creates a fundamentally new email message. This new message is distinct from the original, even though it references it for threading purposes. Mail clients are designed to generate a standard set of headers for the reply, including the necessary Message-ID, In-Reply-To, and References. They do not, by default, copy or propagate non-standard (or X-headers) from the original message into the reply.
Think of it this way: your custom header is like a note you attach to a physical letter before sending it. When the recipient replies, they write a new letter and, unless specifically instructed or if it's a standard practice, they won't re-attach your original note. The same principle applies here. Custom headers (or X-Headers) might be useful for internal routing or debugging on the sending side, but they aren't designed to be round-tripped with replies.
Even if the subject line remains identical, a custom header is unlikely to survive a user-initiated reply. The only exception would be if a mail client specifically programmed to preserve certain custom headers upon reply, which is highly uncommon for generic, arbitrary headers. This means relying on custom headers for tracking replies is an unreliable strategy.

Important note on custom headers

While custom headers can be useful for internal processing, debugging, or conveying metadata that doesn't need to be visible to the recipient, they should not be used for tracking reply threads or expecting them to be returned by mail clients. Their lifecycle is typically limited to the journey of the original outbound email.

Reliable methods for tracking email replies

Since custom headers aren't reliable for tracking replies, what are the alternatives? The most robust approach for linking replies back to original messages is to leverage the Reply-To address. By making the Reply-To address unique to each outbound email, you can identify the original message when a reply comes in.
For example, instead of a generic support@yourdomain.com, you can use reply+ticket12345@yourdomain.com or user-uuid@yourdomain.com. This unique identifier (the ticket12345 or user-uuid in this case) acts like a cookie embedded directly into the email address. When the reply arrives, your system can parse the recipient address and extract this identifier to link it back to the original message.
This method works because the Reply-To header is a standard email header that mail clients are designed to respect and use for replies. It is a much more dependable approach than trying to force custom headers to behave in a way they were not intended. This approach also helps improve deliverability and sender reputation because it signals legitimate communication.

Custom headers

  1. Reliability: Highly unreliable for tracking replies, as mail clients generally do not return them.
  2. Purpose: Best suited for internal routing or conveying metadata between your own systems.
  3. Deliverability impact: Minimal direct impact on deliverability, but reliance on them for critical functions can lead to tracking failures.

Unique Reply-To addresses

  1. Reliability: Highly reliable for tracking replies, as mail clients are designed to use this header for replies.
  2. Purpose: Ideal for linking replies back to specific interactions or users.
  3. Deliverability impact: Positive, as it provides a clear, functional reply path.

Header Name

Included in Reply

Purpose

Message-ID
Yes (as part of In-Reply-To/References)
Unique identifier for each message
In-Reply-To
Yes
Links to the specific message being replied to
References
Yes
Lists all previous Message-IDs in the conversation
Reply-To
Yes (as the recipient of the reply)
Specifies the address for replies, enabling unique tracking
Custom X-Headers
No
Internal data, not for recipient interaction or reply tracking

Impact on deliverability and sender reputation

While directly using custom headers for reply tracking won't work, the overall approach to how you handle replies can certainly impact your deliverability and sender reputation. ISPs (Internet Service Providers) actively monitor engagement signals, and replies are among the strongest positive signals. When users reply to your emails, it indicates genuine interest and a desire for two-way communication, which boosts your standing as a legitimate sender. Conversely, a lack of replies or a high rate of unreplied-to emails can signal disengagement or even spam-like behavior.
Using a unique Reply-To address that allows you to successfully track and process replies indirectly contributes to a better sender reputation. It enables you to engage with your audience, resolve issues, and build trust. This active management of replies can help prevent your emails from being flagged as spam or ending up on a blocklist (or blacklist), which are crucial factors for email deliverability.
While custom headers themselves don't affect deliverability, the ability to track and respond to replies certainly does. By ensuring that your reply tracking mechanism is robust and uses standard email practices, you can better manage your email campaigns and foster a positive sender reputation. This contributes significantly to overall email health and helps you avoid falling onto an email blacklist.

Views from the trenches

Best practices
Always utilize standard headers like Message-ID, In-Reply-To, and References for proper email threading.
Implement unique Reply-To addresses for each outbound email to reliably track responses.
Ensure your systems can parse identifiers from Reply-To addresses to link replies back to the original message.
Common pitfalls
Relying on custom headers (X-Headers) for reply tracking, as mail clients do not typically return them.
Expecting ISPs to preserve non-standard email headers through the reply process.
Ignoring the importance of reply management, which can negatively impact sender reputation.
Expert tips
Consider the IETF specifications for MUAs and headers when designing email systems for interoperability.
Use a subdomain for your Reply-To address to keep your main domain clean and manage reputation.
Regularly monitor your email engagement metrics, including reply rates, to assess deliverability.
Expert view
Expert from Email Geeks says that mail clients, not ISPs, decide how replies are handled and they generally do not return all headers back in the reply.
2021-09-16 - Email Geeks
Expert view
Expert from Email Geeks says that different mail clients thread emails differently, with some using In-Reply-To headers and others relying on subject lines, like Gmail appears to do.
2021-09-16 - Email Geeks

Key takeaways for reply tracking

While the desire to track replies using custom headers is understandable, the reality is that ISPs and mail clients generally do not respect or return these headers in replies, especially when the subject line changes. Email threading relies on a few key, standardized headers like Message-ID, In-Reply-To, and References. For reliable reply tracking, the most effective strategy involves using unique Reply-To addresses that contain specific identifiers.
Implementing unique Reply-To addresses allows your system to automatically parse incoming replies and associate them with their original outbound emails, regardless of subject line modifications. This not only solves the technical challenge of reply tracking but also positively contributes to your sender reputation by fostering legitimate and traceable two-way communication. Focusing on standard-compliant methods ensures higher deliverability and better overall email program health.

Frequently asked questions

DMARC monitoring

Start monitoring your DMARC reports today

Suped DMARC platform dashboard

What you'll get with Suped

Real-time DMARC report monitoring and analysis
Automated alerts for authentication failures
Clear recommendations to improve email deliverability
Protection against phishing and domain spoofing