Most inbound email systems start with a webhook. A provider receives the SMTP message, parses it, and POSTs JSON to an endpoint. The application extracts a reply, a receipt or a verification code, then stores or discards the payload. For automated ingestion, that is the right shape.
It is not a mailbox. The transport is the same; the difference is what remains after the request returns. A webhook leaves a payload. An inbox leaves a conversation with state: threads, participants, replies, assignments and attachments.
That distinction matters when the next step is a person, not a parser.
Two jobs, one envelope
Inbound email usually does one of two jobs.
Parse and act. A bounce report needs to suppress an address. A reply to a notification needs to update a record. A verification code needs to be extracted and compared. The message is an input; once the application has the fields it needs, the message can be archived or dropped.
Receive and reply. A customer writes to [email protected]. Someone
needs to read the thread, see what was said before, attach a log file, and answer
from the same address. The message is not an input to a function. It is part of a
conversation that has to survive the request.
A webhook is built for the first job. An inbox is built for the second. Most teams eventually need both, which is why the choice is not always either-or.
What a webhook is good at
A webhook route is the simplest way to move inbound mail into code you already run. You get the sender, recipient, subject, headers and the text and HTML bodies, then decide what happens next.
It fits work that is stateless or nearly stateless:
- Bounce and complaint processing.
- Extracting a verification code or a reply token.
- Turning a receipt into an expense record.
- Filing a message into a queue, a data store or a support system you already operate.
- Forwarding a message to an address that is not on the receiving domain.
The tradeoff is that the webhook hands you a message, not a mailbox. Everything that makes the message part of a conversation is still your responsibility.
Where the webhook stops
The first gap appears when a reply arrives. SMTP gives you Message-ID,
In-Reply-To and References headers, and those headers are how mail clients
build threads. A raw payload includes them, but your application has to decide
what to do when one is missing, when the subject changes, or when the same
participant writes from a second address.
Then the gaps compound:
Replies need an identity. Answering from the same address means the outbound
message has to be signed for that domain, carry the right From and Reply-To,
and keep the thread headers intact. If the reply comes from a different address,
the recipient's mail client starts a new conversation even when the subject
matches.
Attachments need storage and limits. An inbound invoice, a screenshot or a log file has to be stored somewhere, associated with the message, scanned or accepted according to your policy, and removed when retention expires. A webhook payload is a poor place to keep a file.
Conversation state is product state. Read/unread, assignment, labels, search and internal notes do not belong in an email payload. They belong to whatever owns the conversation.
Access has to be deliberate. Who can read the thread? Who can reply? Who can delete an address? A webhook endpoint usually runs with service credentials; a mailbox needs per-person access and an audit trail.
The event is not the message. A webhook consumer sees an event. It does not automatically get a stored thread it can reopen next week.
None of these gaps make webhooks wrong. They make webhooks a different product from an inbox, with a different set of responsibilities.
What an inbox has to get right
An inbox is not a webhook with a database bolted on. The useful parts are the things that make the conversation survive.
A verified address and a receiving domain. The inbox lives on a domain you control, with MX pointed at the receiving service. A dedicated inbox address is accepted directly; you do not need to create a separate inbound route for it. Routes remain the right tool for addresses that are not inboxes: webhook, forward, relay, support ticket, drop or catch-all. Both paths require the MX record.
A thread model. Message-ID, In-Reply-To and References carry the
relationship between messages. A usable inbox also needs a fallback for mail that
arrives without them, and a stable notion of participants so a thread does not
split when someone changes their display name.
A reply path. Replying from the same address means DKIM signing, the right envelope sender, the original thread headers and attachment handling. The reply should appear in the same thread, not start a new one.
Stored attachments. Files have to be associated with the message, available to the reader and covered by the same retention policy as the message body.
An event you can automate. A stored inbox can still emit an event. In
Transmitly, inbox mail emits inbox.message.received; route mail emits
email.inbound. That lets a webhook consumer react without forcing every human
reply through a parser.
Access control. Creating and deleting inboxes requires the admin scope.
Reading conversations and replying accepts a session or API key; replies require
the send scope.
Limits you can plan around. Transmitly replies can carry up to five attachments, 10 MiB total. Message bodies, attachments and stored inbox messages follow the workspace's retention window.
A concrete flow
Here is the version that avoids the usual split between a webhook and a mailbox.
- Verify the domain and point its MX record at the receiving service.
- Create the inbox, for example
[email protected]. No separate route is required for that address. - A customer sends a message. The inbound listener accepts it, stores the message, and groups it into a thread.
- A person reads the thread in the dashboard or through the API. They see the prior messages, the participants, the attachments and the current state.
- They reply from the same address. The reply is DKIM-signed, carries the thread headers and stays in the conversation.
- If another system needs to react, it consumes
inbox.message.receivedand reads the thread through the API. The webhook does not have to own the conversation.
That is the point where inbound email stops being a parsing problem and becomes an operational surface.
Choosing the right shape
| Job | Better fit |
|---|---|
| Parse a bounce, receipt or verification code and discard the message | Webhook route |
| Forward mail to an address on another domain | Forward or relay route |
| Create a support ticket from the sender, subject and body | Support-ticket route |
| Read a conversation, reply from the same address, keep attachments | Inbox |
| Both human replies and automated reactions | Inbox plus inbox.message.received |
| Catch every address on a domain | Catch-all route |
The mixed case is common. A support inbox handles the human conversation; a webhook consumer watches the same inbox for keywords, creates a task, or updates a CRM. The inbox remains the source of truth for the thread.
What an inbox is not
An inbox is not a general-purpose mail host. It is not a compliance archive, a bulk inbound pipeline or a replacement for a ticketing system with SLAs and escalation. It is a scoped place to receive, read and answer mail on a domain you already use for sending.
That scope is a feature. It keeps the receiving path tied to the same domain authentication, retention and access rules as the rest of the workspace, instead of creating a second mail system with its own exceptions.
If the job is to extract one field and discard the message, use a webhook. If the job is to keep the conversation, use an inbox. If you need both, use an inbox and let the event tell the rest of your system that a message arrived.
Read the inbox docs or set up inbound routing to choose the path that matches the job.