A seamless customer experience often starts with the basic elements of handling incoming emails. Correct email parsing and subject line handling are not just technical details; they form the foundation for effective communication and a stable support flow. Without a robust setup, broken conversation threads, duplicate tickets and general confusion can arise, affecting both efficiency and reputation.
This guide reviews how email parsing in Zendesk can support correct handling of customer enquiries from the first contact. The content covers best practices and solutions to typical challenges with a view to establishing a robust and scalable foundation for customer service.
The Foundation: What Is Email Parsing?
Email parsing can be understood as an automated process where Zendesk receives a raw email, reads its content and converts it into a structured ticket in the system. The process is central because it ensures that relevant information is recorded and placed correctly, so that both agents and customers get a clear overview.
The process can be divided into four core steps:
-
Reception: Zendesk monitors the configured support addresses (e.g.
support@virksomhed.dk). Emails sent to these addresses are picked up by the system. -
Analysis: The system analyses the email's metadata (headers) and content (body). This includes sender, recipient, subject line, conversation threads (
Message-ID,In-Reply-To,References), attachments and the message itself. A distinction is made between HTML and plain text formatting. - Structuring: Information from the analysis is organised. The sender is recorded as the requester, the subject line as the subject, and the email's content as the first comment in the ticket. Attachments are linked to the ticket as uploads.
- Creation or update: Based on the analysis, Zendesk decides whether a new ticket should be created, or whether the email is a reply to an existing ticket that should be updated. This decision is the core of email threading.
When the process works stably, a coherent overview and a flowing conversation are created that feel natural to the customer.
The Soul of the Conversation: Email Threading
Email threading is the mechanism that gathers a correspondence into one coherent ticket. Without threading, each email in a conversation would be created as a new, isolated ticket, which makes it difficult to follow the context and can lead to conflicting replies.
Reply Detection: How Zendesk Recognises a Reply
Zendesk uses standardised signals to determine whether an incoming email is a reply. This happens according to a hierarchy of technical standards:
-
In-Reply-Toheader (primary): The most reliable standard. When replying, the email client inserts a header that points to the uniqueMessage-IDof the original email. Zendesk uses thisMessage-IDto find the original ticket with very high certainty. -
Referencesheader (secondary): Contains a chain ofMessage-IDs from the entire conversation thread. This is useful in longer threads with several participants, or ifIn-Reply-Tois removed by an email client. Zendesk can use the chain to identify the correct parent ticket. - The subject line (weak signal): If the subject line starts with "Re:", "Sv:" or similar, it is assumed that this is a reply. The subject line alone is, however, not sufficient and can cause errors, since subjects can be identical across tickets.
Thread Continuity: How the Coherence Is Preserved
To support Zendesk's threading algorithms, the following practices are recommended:
- Preserve the subject line: Avoid changing the subject line when replying. Even small changes (e.g. adding "[SOLVED]") can result in a new, broken thread. Internal statuses and tags should be used instead.
-
Preserve email headers: Ensure that internal mail systems, security firewalls or email clients do not remove the
In-Reply-ToandReferencesheaders. This is a frequent cause of broken threads in larger organisations. - Reply in the existing ticket: If a customer replies to an auto-response or notification, the reply should be handled in the existing ticket rather than creating a new ticket manually.
- Forward vs. reply: When forwarding, a new ticket is typically created, whereas a reply updates an existing ticket. Forwarding should only be used when a new, separate conversation is the intention.
The Art of Communicating: Handling Subject Lines
A subject line should be clear, consistent and informative. It is often the first thing both agent and customer see, and it affects the understanding of the ticket's content. A precise subject line can reduce the time spent clarifying the core of the ticket.
Best Practices: Good vs. Bad Subject Lines
✅ Examples of good subject lines:
- Clear and descriptive: "Problem logging in to customer administration for user ID 1234"
- Consistent: The subject line remains unchanged throughout the conversation, which supports correct threading.
- Includes a reference: "Enquiry about order #ABC-98765 - Delayed delivery"
- Action-oriented: "Request for refund for ticket #EVT-8821"
❌ Examples of bad subject lines:
- Generic: "Help", "Question", "I have a problem" (provides no context)
- Unclear: "Hi", "Something is wrong", "Urgent" (unclear what is urgent)
- Unstable: The subject line is changed during the conversation (e.g. from "Login problem" to "Re: Login problem" to "SOLVED: Login problem").
Recommended Patterns for Subject Lines
A fixed strategy for subject lines can increase both robustness and recognisability. The following four patterns are often used:
Pattern 1: Include the Ticket ID (most robust)
Zendesk can automatically add a unique ticket ID to the subject line. This is a secure method for supporting correct threading, since the ID is unique and unchangeable.
Subject: [Ticket #12345] Question about my invoice
Reply: Re: [Ticket #12345] Question about my invoice
Pattern 2: Include an external reference
If a unique order number, case number or customer ID exists, it can usefully be included in the subject line for quick recognition by both customer and agent.
Subject: Order #DEF-54321 - Question about delivery
Reply: Re: Order #DEF-54321 - Question about delivery
Pattern 3: Descriptive and action-oriented
If no specific ID exists, the subject line should describe the problem clearly and precisely.
Subject: Cannot reset my password
Reply: Re: Cannot reset my password
Pattern 4: The combination model
Combines a unique ID with a clear description and provides both technical robustness and high readability.
Subject: [Ticket #67890] Order #GHI-24680 - Request to exchange size
Reply: Re: [Ticket #67890] Order #GHI-24680 - Request to exchange size
The Fight Against Chaos: Preventing Duplicate Tickets
Duplicate tickets often create wasted time and confusion. This can be because a customer sends the same email several times, or because a system mistakenly creates several tickets for the same enquiry.
The following three-step approach can reduce the number of duplicates:
1. The Safety Chain: Correct Threading
Correct threading is the most effective prevention. When replies are added to existing tickets, duplicates arise less often. This presupposes correct headers and a consistent subject line, as well as that the setup has been reviewed and works correctly.
2. Zendesk's Built-in Duplicate Detection
Zendesk contains a feature that can identify potential duplicates based on a combination of:
- The same requester (sender)
- A similar subject line
- Similar content in the initial comment
- Emails received close to each other (typically within a few minutes)
Activation:
Go to Admin Center > Objects and rules > Tickets > Settings and enable Mark and suspend potential ticket duplicates. You can choose whether duplicates should be suspended automatically or merely marked. Suspension can be used to keep the inbox more manageable.
3. Manual Control and Targeted Views
Technology should be supplemented with a fixed routine and a dedicated view:
-
Create a "Potential Duplicates" view: A view that shows tickets with the status "Suspended" and the tag
potential_duplicateprovides a single place for manual verification and possible merging. - Search first: Before a new ticket is created from a customer's email, the search function should be used to check whether an open ticket from the same customer already exists. A search on name or email address can reveal an existing ticket.
Configuration: The Building Blocks of an Email Setup
A solid configuration in Zendesk supports all of the above areas. The central building blocks are reviewed below.
Support Address
The support address is the primary entry point for emails.
-
Primary address: The main address, e.g.
support@virksomhed.dk. Replies from Zendesk are sent from here by default, unless otherwise configured. -
Alias addresses: Several addresses can be set up for the same support function in Zendesk, e.g.
info@,kontakt@orhelp@. This can support routing and ensure that enquiries end up in the same place. - External email accounts: Zendesk can be configured to fetch emails from an existing shared inbox (e.g. Microsoft 365 or Google Workspace). This provides flexibility, but can increase the complexity around routing and signatures.
Email Routing
Routing ensures that the ticket is assigned to the correct person or department from the start. In Zendesk, this is typically handled via triggers.
-
Routing by recipient address: With several alias addresses, a trigger can be created, e.g.: "If the email was sent to
regnskab@virksomhed.dk, the ticket is assigned to the 'Regnskab' group". - Routing by subject line: Triggers can scan the subject line for keywords, e.g.: "If the subject line contains 'faktura' or 'betaling', the ticket is assigned to the 'Regnskab' group and the tag 'Faktura' is added".
- Routing by ticket content: Advanced triggers can analyse the comment for keywords and route the ticket accordingly.
Example of a trigger:
-
Meets all conditions: Ticket has been created | Recipient > Includes >
salg@virksomhed.dk -
Actions: Assign group > Salg | Add tag >
salgsforespørgsel
Email Templates
Standardised templates support a consistent tone in outgoing messages. Placeholders can be used for personalisation:
-
Auto-responses: Confirm receipt of a ticket. Include
{{ticket.id}}as a reference and{{ticket.link}}for access to the ticket online. - Standard replies (macros): Macros can be created for frequently asked questions to reduce repetitive keystrokes.
-
Personalisation:
{{requester.first_name}}can be used for addressing the customer, and{{current_user.name}}can be used in the signature to indicate the sender.
Troubleshooting: Common Challenges and Solutions
Even a good setup can encounter challenges. Typical problems and corresponding solutions are described below.
Challenge 1: Broken conversation threads
Problem: A customer replies to an existing ticket, but the reply creates a new ticket instead of being added to the original.
Solution:
- Check the subject line: Has the subject line been changed? Even small changes can affect simple systems.
-
Inspect the email headers: Find the original email in Zendesk and view the "raw source" (under "Options"). Find the
Message-ID. Then find the new ticket and check theIn-Reply-To. Do they match? If not, the problem typically lies in the email client, a mail server along the way, or a firewall. - Manual merge: Merge the new ticket into the original and inform the customer that the conversation has been gathered.
Challenge 2: Duplicate tickets
Problem: The same enquiry creates several tickets, often a few minutes apart.
Solution:
-
Enable duplicate detection: Go to
Admin Center > Objects and rules > Tickets > Settingsand enable Mark and suspend potential ticket duplicates. - Analyse the source: Assess whether the duplicates are due to repeated enquiries from the same customer or a system problem (e.g. a misconfigured mail server that sends the same email several times).
- Create a trigger: A trigger can be created to automatically close or suspend tickets with a particular tag that is added manually to duplicates.
Challenge 3: Missing context
Problem: A new ticket lacks history, and it is unclear what the enquiry refers to.
Solution:
- Check for broken threading: Missing context is often a symptom of a broken conversation thread.
- Search for the customer: Use the search function in Zendesk to find other tickets from the same customer.
- Include history: In email templates, you can choose to include a comment with a link to the full ticket history, so that the customer can see the context.
Challenge 4: Emails land in spam
Problem: Customers do not receive replies because emails are filtered as spam.
Solution:
This relates to the domain's reputation and requires authentication of emails.
- Configure SPF, DKIM and DMARC: DNS records that indicate that Zendesk is allowed to send emails on the domain's behalf. Zendesk guides the setup under "Email" in the support address settings.
- Monitor reputation: Tools such as Google Postmaster Tools can be used to monitor the domain's reputation and IP reputation.
Best Practices: Summary
The following principles support stable email parsing and subject line handling:
- Consistency: The subject line should be preserved throughout the conversation.
-
Make use of standards: The
In-Reply-ToandReferencesheaders should be allowed to function without interference. - Use a unique reference: A ticket ID or other unique reference in the subject line acts as a safety net.
- Automate where possible: Triggers for routing and duplicate detection can reduce the manual load.
- Test: Internal test emails should be used to verify the setup before rollout.
- Ongoing optimisation: The setup and data should be reviewed regularly to identify patterns, e.g. broken threads or subject lines that create problems.
Concrete Steps to Success
The following action plan can be used to strengthen email handling:
- Review the existing setup: Map out support addresses, routing and whether SPF/DKIM are in place.
- Implement a subject line strategy: Choose a pattern and introduce it as fixed practice (the combination model with the ticket ID is highlighted as particularly robust).
- Optimise triggers: Ensure correct routing to the right group from the start, and review triggers for errors and opportunities for improvement.
- Enable and fine-tune duplicate detection: Integrate the feature into the workflow and create a dedicated view for handling.
- Train agents: Ensure an understanding of the importance of replying in the existing ticket, preserving subject lines, and knowing the difference between replying and forwarding.
Mastering email parsing and subject line handling is an investment in efficiency and customer satisfaction. When the foundation is solid, focus can be directed towards delivering a stable and professional customer service experience.