Skip to content

How an email becomes a support ticket

The path a customer email takes from your mailbox to a ticket in a help desk, what gets read at each step, and where the process usually breaks.

A single envelope moving along a line of labelled stages that ends in a ticket card inside a team inbox

An email becomes a support ticket in roughly five steps: the message is delivered to your support mailbox, the help desk retrieves it, it parses the headers and body, it decides whether the message belongs to an existing conversation or starts a new one, and it applies filters and automations before an agent sees it. A "missing ticket" or "weird ticket" problem can usually be placed at one of those steps, and knowing which step you are looking at tells you which log, header or setting to check.

This article walks through each stage with the fields that matter, then gives a pre-connection checklist and a symptom table you can use when something goes wrong.

The five stages at a glance

Stage What happens What it depends on Typical failure
1. Delivery Sending servers deliver the email to your mail host over SMTP Your domain's MX records, the mail host accepting the message Mail never reaches the mailbox (wrong MX, full mailbox, rejected by your own filters)
2. Retrieval The help desk collects new mail, usually over IMAP, or receives a forwarded copy Login method, folder being watched, which messages count as "new" Login fails after a password or policy change; mail moved out of the watched folder
3. Parsing Headers, body parts and attachments are read Correct MIME structure and character encoding Garbled text, missing attachments, empty body
4. Threading and identity The message is matched to a customer and to an existing conversation, or a new one is opened From, Message-ID, In-Reply-To, References Replies open new tickets; customer profiles split
5. Filtering and automation Auto-replies, bounces and spam are handled; assignment and acknowledgement rules run Header checks and your rules Auto-reply loops, duplicate tickets, out-of-office messages becoming tickets

Stage 1: delivery to your mailbox

Before a help desk is involved, the message has to reach your mailbox. The sender's server looks up your domain's MX records and hands the message over using SMTP. Once your mail host replies with a success code at the end of the transfer, it has accepted responsibility for either delivering the message or reporting the failure (RFC 5321, section 2.1 and 6.1).

That matters for troubleshooting: if a customer says they emailed you and you have no ticket, first confirm that the message reached the mailbox itself. If it is not in the mailbox, the help desk never had a chance to see it, and the investigation belongs with your mail host's logs (for example message trace in Microsoft 365 or Email Log Search in Google Workspace, covered in our guide to undelivered replies).

Stage 2: retrieval

Help desks get mail in one of three broad ways:

Method How it works Watch out for
Mailbox connection (IMAP) The help desk logs in to the mailbox and fetches new messages Authentication method; other people or rules moving mail out of the watched folder
Forwarding Your mail host forwards a copy of each message to an address owned by the help desk Forwarding can change authentication results; forwarding rules can be switched off silently
Provider API The help desk reads mail through a provider-specific API (for example Gmail or Microsoft Graph) Requires the provider's app consent and permissions

With IMAP, the help desk needs a reliable way to know which messages it has already seen. IMAP gives every message in a folder a unique identifier (UID) that is assigned in a "strictly ascending fashion", and a UIDVALIDITY value that must increase if the server cannot keep those identifiers from one session to the next (RFC 9051, section 2.3.1.1). Some tools track UIDs, others rely on the \Seen (read) flag. If yours relies on read status, a colleague opening the message in webmail first can affect what is imported, so ask your vendor which approach it uses.

To learn about new mail, a client either polls at intervals or uses the IMAP IDLE command, which lets the server push new-mail notifications instead of the client asking repeatedly (RFC 2177).

Authentication changes can stop imports silently

Large providers no longer accept a plain username and password for IMAP and SMTP in most cases:

  • Microsoft 365 (Exchange Online): Basic authentication for IMAP and POP has been removed; third-party apps need OAuth 2.0 (Microsoft Learn: Deprecation of Basic authentication in Exchange Online). For SMTP AUTH, Microsoft says Basic authentication will be disabled by default for existing tenants at the end of December 2026, with admins still able to re-enable it, and a final removal date to be announced in the second half of 2027 (Exchange Team blog, January 2026) (checked 30 November 2026).
  • Google Workspace: Google lists 14 March 2025 as the date when IMAP, SMTP and POP stopped working with legacy passwords for Workspace accounts; apps must use OAuth or an app password (Google Workspace Admin Help) (checked 30 November 2026). App passwords only work on accounts with 2-Step Verification, and changing the account password revokes them (Google Account Help).

Practical consequence: a mailbox connection that worked for months can stop importing the day someone changes the mailbox password or a security policy. Put the support mailbox's credentials and authentication method in your runbook.

Stage 3: parsing the message

A help desk reads two parts of every email.

Headers. The fields that drive ticket creation are:

Header Used for
From (and sometimes Reply-To) Identifying the customer and where replies go
To, Cc Which support address received it; who else is on the conversation
Subject Ticket title
Message-ID Unique identity of this message, used for threading and de-duplication
In-Reply-To, References Linking a reply to the earlier messages it answers
Auto-Submitted, Precedence, List-Id Spotting automatic or bulk mail that should not trigger auto-replies

RFC 5322 defines the identification fields: every message "SHOULD" have a Message-ID, which "MUST be a globally unique identifier", and a reply's In-Reply-To and References carry the parent's identifiers (section 3.6.4).

Body (MIME). Most emails are multipart. A multipart/alternative message contains the same content in several formats, ordered by "increasing faithfulness" so the best choice is usually the last part the system supports (typically HTML after plain text); multipart/mixed bundles independent parts such as text plus attachments (RFC 2046, sections 5.1.3–5.1.4). When a ticket shows a blank body, garbled characters or a missing attachment, look at the raw message's MIME structure and character encoding before suspecting the help desk's ticket logic.

Stage 4: threading and identity

This is where the help desk decides "new ticket or existing conversation?". The reliable method is header-based: if the incoming message's In-Reply-To or References contains a Message-ID that the help desk already recorded for a conversation, the message is added to that conversation. If there is no match, a new ticket is opened.

Example (hypothetical): A customer, Priya, emails support@example.com. Her message has Message-ID: <a1@mail.example.net>. The help desk opens ticket 1042 and records that ID. The agent's reply is sent with In-Reply-To: <a1@mail.example.net> and its own new Message-ID: <r1@example.com>. When Priya replies, her mail program sets In-Reply-To: <r1@example.com> and References: <a1@mail.example.net> <r1@example.com>. The help desk finds both IDs on ticket 1042 and adds her message there.

Identity works in parallel: the sender address is matched to an existing customer record or a new one is created. If the same person writes from a work and a personal address, you get two customer records unless someone merges them.

Threading has enough failure modes to need its own article: see why customer replies create new tickets.

Stage 5: filtering and automation

Before a message reaches the queue, a help desk should screen out mail that is not from a person, or at least avoid answering it automatically. RFC 3834 says automatic responders "MUST NOT blindly send a response for every message received", should not respond to messages whose Auto-Submitted value is anything other than no, and must not respond when the return address is empty (section 2). After that, your own rules run: assignment, tags, and any automatic acknowledgement.

This is where auto-reply loops and floods of duplicate tickets start; preventing duplicate tickets and auto-reply loops covers the safeguards.

Checklist before you connect a support mailbox

  1. Use a dedicated mailbox (for example support@example.com) rather than someone's personal inbox, so personal mail does not become tickets.
  2. Confirm the authentication method your provider requires for IMAP and SMTP (OAuth or app password) and who owns those credentials.
  3. Agree a "hands off" rule: nobody moves, deletes or files messages in the watched folder from webmail or a desktop client.
  4. Check mailbox rules and forwarding: existing filters that move mail into subfolders can hide it from the help desk.
  5. Decide what happens to existing mail. Many tools import only new mail; plan how agents will reach older threads.
  6. Check sending authentication (SPF, DKIM, DMARC) for the address replies will come from: see SPF, DKIM and DMARC explained for support teams.
  7. Run four test messages from an outside address: a new email, a reply to the agent's response, an email with an attachment and non-English characters, and an out-of-office auto-reply. Confirm each lands where you expect.

When something looks wrong: symptom table

Symptom Most likely stage First check
Customer emailed, no ticket and nothing in mailbox 1. Delivery Mail host logs; MX records; customer's bounce message
Message is in mailbox, no ticket 2. Retrieval Connection status and authentication; was the message moved or read before import?
Import stopped for everyone at once 2. Retrieval Password change, revoked app password, or provider authentication policy
Ticket has empty or garbled body 3. Parsing Raw message source: MIME parts and charset
Customer reply opened a new ticket 4. Threading In-Reply-To and References in the reply's headers
Same person appears as two customers 4. Identity Different sender addresses; merge the records
Out-of-office replies become tickets, or a loop starts 5. Filtering Auto-Submitted and related headers; acknowledgement rules

How this works in Convoray

  • Available in this release You connect your support mailbox over IMAP/SMTP. New emails that arrive after you connect become conversations in the shared inbox; Convoray does not import older mail history.
  • Available in this release Customer replies are added to the same conversation using email headers, and agents' replies go out from your business's own address.
  • Available in this release An optional automatic acknowledgement email can be switched on, and delivery failures are shown in the conversation with a retry option.
  • Supported — switched on during setup Gmail and Mailgun mail connections are available, switched on during setup.

Email conversation in the Convoray inbox showing a customer message and an agent reply in one thread

See how email conversations work for the setup details.

Sources

See Convoray with your own questions

We are onboarding a small number of pilot businesses with hands-on setup. Tell us about your support and we will arrange a demo.