Email-to-Case Threading in Salesforce uses inbound email message header fields — specifically the Message-ID, In-Reply-To, and References headers — to match a customer's reply email back to the originating Case record. When Salesforce receives an inbound reply, it parses these headers to identify the correct Case.
If the headers are present and valid, Salesforce relates the reply to the originating Case. If the headers are missing, altered, or cannot be matched, Salesforce creates a new Case instead of attaching the reply to the existing one.
A common scenario where this occurs: when a customer modifies the Subject line of a case reply email, many email clients strip the threading header information, causing the message to arrive as a new, unrelated email.
## Expected Behavior — Working as Designed
This behavior is working as designed. Salesforce Email-to-Case Threading relies on standard SMTP email header fields (Message-ID, In-Reply-To, References) to link inbound replies to the correct Case. These are inserted into case notification emails sent from Salesforce.
## Why Threading Fails
If these header values are removed or modified before the email is received by Salesforce — for example, when the customer or their email client changes the Subject line of a reply — the threading information is lost. In this situation, Salesforce has no way to identify the originating Case and creates a new Case from the inbound email.
## Recommendation
To reduce unintended new Case creation caused by threading failures:
000389090

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.