Inboxes and threads
An inbox is an address on a verified domain. Every message that arrives is stored as a message on a thread, and every reply leaves from the same address.
Addresses
- An inbox address must sit on a domain verified in the same workspace.
- One domain can host many inboxes; one inbox has exactly one address.
- Deleting an inbox does not delete the domain. Revoking an address stops delivery immediately.
Threads and messages
| Object | What it holds |
|---|---|
| Inbox | address, display name, retention, limits, channel bindings |
| Thread | participants, subject, message count, last activity |
| Message | headers, text and HTML bodies, attachments, direction, delivery state |
A reply created through the API keeps the In-Reply-To and References headers of the thread, so mail clients group it with the original conversation.
Attachments
- Maximum complete message size is 25 MB, including encoded attachments.
- Up to 20 attachments per message.
- Attachments are served through signed, expiring URLs.
- Inbound attachment bytes count against the plan’s processed-data allowance.
Retention
Retention is a maximum content age, measured from acceptance:
| Setting | Effect |
|---|---|
| 7 / 30 / 90 / 365 days | Message and attachment content expires after the window; metadata remains |
zero |
Nothing is persisted. Delivery happens once and replies are rejected |
Zero retention is opt-in and receive-only. It applies to inbound mail; it is not a general purge of existing data.
Limits
Allowances are pooled per workspace, not per inbox. Message units count one accepted inbound copy or one outbound recipient.
| Plan | Units / month | Units / day | Inboxes |
|---|---|---|---|
| Sandbox | 3,000 | 100 | 3 |
| Build | 10,000 | 2,000 | 10 |
| Team | 50,000 | 10,000 | 50 |
Exceeding a monthly or daily allowance returns 429 with monthly_limit or daily_limit. Replays and automatic retries do not consume message units.
Endpoints
| Method | Path |
|---|---|
GET |
/v1/inboxes |
POST |
/v1/inboxes |
GET |
/v1/inboxes/{id} |
PATCH |
/v1/inboxes/{id} |
DELETE |
/v1/inboxes/{id} |
GET |
/v1/threads |
GET |
/v1/messages |
The API reference lists every parameter and response from the contract.