Email channel with domain verification, inbound reply handling, thread continuity, and transactional and marketing use cases.
Concurrence provisions email use cases on a verified sending domain. Channel Manager sends messages, receives eligible replies, and records delivery events. Your application can use it directly, or a Concurrence workspace service can manage the agent conversation.
With the standalone Channel Manager API, your application owns conversation routing and reply handling. A workspace and service binding are required only for the workspace-managed agent path.
Sending Domain Setup
An email use case belongs to an email setup with a verified sending domain. That setup is the boundary for reputation and suppression management. A customer can have several setups, including separate phone and email setups; a setup is not a workspace.
Sending-domain setup is provisioned by the Concurrence team - it is not self-serve. The team registers the domain identity, provides the DNS records to publish at your DNS provider, and confirms verification against live DNS. A single domain identity serves both outbound sending and inbound receiving. Sending and receiving are verified separately: the sending records must be verified before the domain can send or back any email use case, while the inbound MX record is needed only for use cases that receive email. Contact the Concurrence team to provision email.
Each email setup includes:
Domain identity - The domain used for sending (e.g.,
notifications.example.com)DNS records - Records that must be added to the domain's DNS configuration for verification: DKIM signing keys, SPF records, DMARC policies, and inbound MX routing
Verification status - Two separate results: sending verification (DKIM, MAIL FROM, and DMARC) and inbound MX verification
Use Cases and Sender Identities
Email is organized around use cases. A use case names one email sender identity - a sender address backed by its setup's verified sending domain. Each use case specifies:
Sender email address - The
Fromaddress for messages sent through this use caseEmail type - Either
transactional(triggered by user actions, like appointment confirmations) ormarketing(bulk or promotional messages). The type determines sending rules and compliance handling.Entity name and use case name - Labels that identify the purpose of the use case for reporting and management
Each use case also records an explicit decision on two inbox posture settings:
Unsubscribable - whether sends carry one-click unsubscribe headers and honor per-use-case opt-out lists. Marketing email must be unsubscribable. Transactional use cases may opt out for must-send flows such as password resets.
Inbound mode (
inbound_mode) - what inbound email the sender address accepts:send_only- no inbound email is accepted, including replies to messages the use case sent. This mode does not need the inbound MX record, so it can be used before or without inbound DNS.replies_only- only authenticated replies to the use case's own outbound messages are accepted; first-contact email is dropped.all_inbound- replies and first-contact email to the sender address are accepted, after authentication and spam checks.
Any mode other than
send_onlyrequires the setup's inbound MX record to be verified, both when the use case is created and when an existingsend_onlyuse case is changed to receive. Otherwise the request returns409.
For a workspace-managed agent, binding a use case to a service enables email routing for that workspace. Inbound traffic resolves to the bound service, and outbound dispatch from the service uses that use case. Rebinding replaces the service binding; unbinding removes that workspace routing. Standalone Channel Manager applications instead receive callbacks at their configured receiver and own the conversation lifecycle.
Concurrence provisions email use cases. The Platform API binds, inspects, and unbinds a use case's service binding; see Use Cases & Bindings.
Inbound Email
When a domain's MX records are verified and the use case's inbound_mode accepts it, the platform receives and processes inbound email. A send_only use case drops all inbound email. A matched reply carries a reference to its parent outbound email. An accepted first-contact message in all_inbound mode has no parent reference; the receiving application decides which workflow to start.
Reply resolution matches the inbound In-Reply-To header to the parent outbound, and the reply's authenticated From address must match the address that outbound was sent to. The reference belongs to the same email setup and use case. A standalone application maps that reference to its own workflow; a workspace-managed agent uses its service's conversation routing.
Long-Running Tools and Reply Delivery
This behavior applies when a Concurrence workspace service runs the agent. A standalone Channel Manager application schedules its own work and sends its own replies.
Some agent replies depend on a tool that takes longer than the synchronous turn window. Voice can provide a live acknowledgement. A web API client instead follows the REST contract: bounded wait_for_final, background_pending, and explicit polling when work remains.
Email is asynchronous, so its channel policy suppresses an intermediate acknowledgement and waits for supported background work before attempting the final reply. The recipient does not maintain a live text connection. Tool completion, message creation, provider acceptance, and recipient delivery are separate milestones.
The intended result is one useful reply rather than a filler followed by a correction. Tool failure, exhausted processing retries, suppression, bounce, or provider rejection can still prevent that outcome. Use channel status and delivery events to distinguish those cases.
SMS, iMessage, and WhatsApp use related non-live policies. Web conversations use request-scoped REST or SSE rather than a persistent text WebSocket.
Attachment Handling
The inbound parser handles standard MIME attachments and the deeply nested layouts produced by some mail clients. Supported behavior includes:
Attachment parts are preserved. Recognized attachment parts are extracted with their content and metadata rather than flattened into the message body.
Forwarded emails stay intact. An email forwarded as an attachment is kept as a single
.emlfile, preventing attachments inside it from being attributed to the outer message.Inline images retain CID identity. Content-ID parts are stored under their CID identifiers so renderers can resolve references from the message body. Consumers should not assume every client hides those parts from attachment views.
Reply Threading
Outbound emails can be sent as replies to inbound messages, maintaining thread continuity in the patient's email client. When sending a reply, the platform sets the In-Reply-To and References headers according to RFC 5322, so the patient sees a single threaded conversation rather than disconnected messages.
The platform maintains the full reference chain across multiple reply rounds. If a patient replies to an outbound, and the platform replies back, and the patient replies again, each message carries the complete thread history. Even when a patient's email client strips the References header (some lightweight mailers do this), the platform reconstructs the chain from its stored records so the next outbound reply still threads correctly.
Reply threading is scoped to the same use case and email setup. Cross-use-case replies are rejected to prevent confused-deputy scenarios where a reply intended for one context could be misattributed to another.
Delivery Tracking
The platform records available provider lifecycle events for outbound email:
Delivery confirmation - When the receiving mail server accepts the message
Bounce handling - Hard bounces (invalid address) and soft bounces (temporary failure) are recorded and influence future sending decisions
Complaint tracking - When a recipient marks a message as spam, the platform records the complaint and can suppress future sends to that address
Unsubscribe Handling
Outbound emails from unsubscribable use cases include RFC 8058 one-click unsubscribe headers. When a patient clicks the unsubscribe button in their email client, the platform processes the opt-out automatically. Unsubscribe scope can be per-use-case (the patient stops receiving emails from one campaign but continues receiving others) or per-setup (the patient opts out of all email from that domain).
Reliability and Operational Recovery
For a workspace-managed agent, inbound email turns are retried automatically. A turn that still fails is held in a durable record with its routing context rather than discarded, and Concurrence can re-submit it once the cause is resolved. Processing is best-effort; do not assume that every inbound message is processed.
Last updated
Was this helpful?

