Skip to main content
Use Connect Email first if you are still setting up your address and provider rules. For diagnosing issues, see Troubleshooting.
Email Flow explains how OpenCX matches and processes mail after go-live. Setup steps stay on Connect Email.

Path Of A Message

1

Customer Sends Email

A customer emails your support address (e.g. [email protected]).
2

Forwarded To OpenCX

Your email provider automatically forwards a copy to OpenCX.
3

Matched To A Conversation

OpenCX recognizes your registered address and either continues an existing conversation or starts a new one.
4

AI Generates Reply

When is enabled, the AI drafts an HTML-formatted reply using your knowledge base and tools, and sends it from your registered address with your signature. When Autopilot is off or the conversation is escalated, your team replies from the inbox instead.
Treat the thread in your OpenCX dashboard as the authoritative copy. Mail clients may or may not collapse replies into one visual thread depending on the mail client.

New Thread Vs Reply

OpenCX first checks the email’s reply headers and the session references in its quoted body. Replies from the original customer or an existing email participant continue the session normally. A Gmail emoji reaction from the customer or a participant is saved on the session as the emoji. It is not treated as a reply: it does not reopen a closed session, start an AI reply or workflows, notify the assignee, or sync to a linked ticketing system. A reaction that arrives after the inbox’s reply cutoff, or that matches no session, follows normal new-email handling. When a reply header or an embedded session ID identifies an existing email session, a reply from someone outside its participant list is saved as an internal note on that session. The note is attributed to AI, identifies the sender, explains why it is private, and quotes the email. Attachments are kept with the note, and your organization’s data redaction settings apply to its text and its images: an image that contains personal data is removed, and the note lists it. The sender and any recipients on that private email are not added to the session’s participants or automatically included in outgoing replies. The AI does not reply to the note or use its content to answer the customer. A human reply saved this way reopens a closed session without changing its assignee. Automatic responses and Gmail emoji reactions from someone outside the participant list are saved the same way without reopening. If the session has a linked Zendesk ticket, OpenCX also copies the reply there as a private note. Zendesk tickets that are permanently closed cannot accept new notes. OpenCX adds the Non-participant reply tag to these sessions. Use it to filter your Inbox for replies from people outside the participant list. The tag stays after resolution as a history marker; the session status shows whether work remains. Human replies also notify the assigned human agent through the normal reply notification bell and their configured desktop alerts. The preview identifies the reply as Non-participant reply. These alerts respect the workspace’s customer reply notification setting. Automatic responses, Gmail emoji reactions and sessions assigned to AI or without an assignee do not send an alert. Retrying delivery of the same email does not send another notification; a new reply refreshes the session’s existing notification. A visible REF #12345 also works when email formatting places the number inside a link. A number alone still requires the sender to be the original customer or an existing participant. If those checks cannot identify a session, OpenCX can join two separate customer replies to the same original email, even when that original email never reached OpenCX. This fallback requires:
  • The same customer and receiving inbox within your organization.
  • The same subject after removing leading Re: prefixes.
  • Exactly one matching session with a customer reply received within the previous seven days.
Automatic responses and messages treated as spam do not use this fallback. Missing reply information or multiple possible sessions leave the email unmatched, so normal new-session rules apply. Matching by subject alone is never enough. The shared-parent fallback applies to emails received after this update; older messages are not retroactively linked. Existing reply-header and session-reference matches keep priority.

Outbound Format

Replies keep the original subject with a Re: prefix. A small reference number is included automatically for tracking. All outgoing emails are formatted as HTML with unsafe content removed before delivery. When forwarding a session from the inbox, your note and email signature appear above the forwarded history. Custom email templates place that history at {{quoted_content}}; keep this placeholder below your signature. Without that placeholder, the history follows the template. The {{agent_name}} placeholder uses the forwarding agent’s customer-facing name, even when the new session is assigned to someone else.

Inbox settings

Each address in Channels → Email has its own settings. Click the gear on the inbox’s row to open them. Changes save as soon as you make them, except the reply cutoff, which has its own Save button. Changing settings needs the Channels settings write permission.

Choose which emails an inbox processes

Inbound strategy has three options:
  • Process all: new emails and replies to existing sessions are both processed.
  • Replies only: emails that match an existing session are processed. Emails that would start a new session are dropped and never reach the inbox. Replies to your sequences still get their session.
  • Ignore all: every incoming email to this inbox is dropped. The inbox stays connected, so you can still send from it.

Handle emails your mailbox flags as spam

With Reply to spam-flagged emails off, an email that arrives marked as spam still lands in its session, but the session is tagged __spam__ and the AI doesn’t reply. A new session started by such an email isn’t assigned to the AI. A person decides what to do with it in the inbox. Turn it on when real customer emails keep getting marked as spam. The spam mark is then ignored for this inbox: no tag, and the AI is assigned and replies as usual.

Attribute form emails to the real requester

Web forms and booking tools often send every email from one fixed address and put the customer in the Reply-To header. Add that sender to Trusted Reply-To senders, as a full address ([email protected]) or a domain (gateway.com). You can add up to 50. For an email from a listed sender, OpenCX treats the Reply-To address as the customer: it becomes the session’s contact, decides which session the email belongs to, and receives your replies. The message itself still records the original From address.
  • A domain entry matches addresses at exactly that domain, not its subdomains.
  • An email without a Reply-To, or whose Reply-To is the From address or this inbox’s own address, is handled normally.
Only list senders you control or trust. A Reply-To address can’t be verified, so anyone who can send through a listed sender decides which customer the email is attributed to.

Choose the default sender

When a teammate or a workflow starts a new email session without choosing an address, it is sent from the inbox marked Default sender. Replies in existing sessions still go out from the address the customer wrote to.
  • The first inbox to connect becomes the default.
  • To move the default, turn on Default sender on another inbox. The switch can’t be turned off on the current default.
  • If you delete the default inbox, the oldest connected inbox takes over.
  • Only a connected inbox can send. If the default isn’t connected, the first connected inbox is used instead.

Choose who delivers replies

Outbound strategy matters when a ticketing system such as Zendesk is connected. You set it separately for AI replies, Team replies, and Workflows and sequences:
  • Ticketing system: the connected ticketing system sends the reply. Without a connected ticketing system, OpenCX sends it.
  • Direct: OpenCX sends the email from this inbox. AI and team replies are also added to the ticketing system as an internal note, so the customer isn’t emailed twice.

Good To Know

AI replies send from the address the customer wrote to. Routing keys off To, so each registered address is matched independently. New sessions that a teammate or workflow starts without choosing an address are sent from the default sender.
Previous messages in the thread are automatically separated from the new reply. Inbound attachments appear on the conversation. Outbound replies from human agents can include attachments where enabled.
Out-of-office replies and email from addresses such as noreply@, notifications@ or mailer-daemon@ (phone system alerts, app notifications, bounce notices) land in a session, but the AI doesn’t answer them and Contact Message Received workflows don’t run. A no-reply sender listed in Trusted Reply-To senders is handled as the person in its Reply-To, so the AI answers them as usual.
Inbound mail is received securely on your behalf. Outbound replies are sent from your verified domain. For contracts or DPA questions, use your account or legal channel—not this page.

Troubleshooting

Connection failures, missing replies, and common fixes.

Human Handoff

AI to human escalation — applies to email sessions.

AI Actions

Run tools and workflows from email conversations.

Autopilot And Topics

Channel-level Autopilot and topic rules.

Replies after a primary-contact change

An agent can change To when replying from a native OpenCX email session. Selecting Send makes the new recipient the primary contact while preserving the same session and email subject. The first transfer email includes earlier customer-visible history so the new recipient has context. Thread references and known participants connect later replies to the session. The original contact can still reply to an older email without becoming the primary contact again. Receiving new messages depends on the recipients of each outgoing email; being a historical participant does not automatically copy them. See Change an email session’s primary contact for draft, Cc, preview, and retry behavior.

Start a new session for late replies

In Channels → Email, open an inbox’s settings and enable Email reply cutoff. Choose 1–30 whole days and click Save (shown only when you have unsaved changes). You need permission to edit channel settings. Each inbox starts disabled; enabling it initially shows 14 days. To update all current inboxes at once, click Reply cutoff at the top, choose the setting, and click Apply to all inboxes. The dialog shows the saved setting when all inboxes agree. If inboxes have different settings, choose Enable cutoff or Turn off cutoff before applying. This replaces each current inbox’s cutoff. You can still edit each independently afterward; inboxes added later start disabled. When a reply arrives at or after the configured time since the session’s most recent resolution, OpenCX leaves the original resolved and opens a fresh session linked to it. For example, with 14 days selected, a session resolved Monday at 10 AM reaches the cutoff two Mondays later at 10 AM. Earlier replies continue in the existing session. Reopening and resolving restarts the timer. If a resolved session has no recorded resolution date, a reply starts a new session once the original has been unchanged for the full cutoff period. If the session changed more recently, OpenCX checks its status history. An unrelated edit, such as a tag change, preserves an earlier recorded closure. When the history cannot establish that the cutoff has passed, the reply reopens the original session. The fresh session follows your normal new-email routing and integration settings. Previous assignment, tags, session attributes and messages are not copied; the original history remains accessible through its link. Incoming recipients and attachments follow normal email handling. Automatic replies also start fresh sessions after the cutoff and retain normal automatic-reply handling. Further replies to the old email thread use its latest follow-up session. If that session has also been resolved beyond the cutoff, another fresh session is created. Disabling the setting stops further splitting but preserves existing follow-up links. If you send a new email from the original session after a follow-up was created, replies referencing that new message stay on the original session while it has not reached its cutoff again. Replies referencing older messages still use the follow-up. Blocked contacts and blocked email domains do not create new follow-up sessions. A reply to a session erased by session retention always starts a new session, whether or not the cutoff is on. The new session links back to the erased one only when retention didn’t anonymize its contact. Each inbox’s policy applies to replies received by that inbox and applies immediately to existing resolved email sessions, including forwarded email processed by OpenCX when Zendesk is connected. Normal new-session integration behavior applies, including creating a separate Zendesk ticket when configured. It does not change messages received through external helpdesk webhooks. Unresolved sessions and older sessions without a recorded resolution time retain their existing behavior.