Inboxes
An inbox in mailbot is the unit of isolation, identity, and addressability for email. Every email mailbot sends or receives belongs to exactly one inbox.
Inbox vs email address
A plain email address is a routing label. An inbox in mailbot is the routing label plus everything attached to it:
- the address itself (
support@yourdomain.comor a sandbox address onmailbot.id) - the API handle to send and read mail through that address
- the message history, threads, and engagement events tied to that address
- per-inbox limits and policy (daily send cap, allowed labels, sandbox vs custom domain)
- account-level webhook destinations whose payloads identify that inbox
Two inboxes never share state. Sending from inbox A never appears in the message list of inbox B. This is what isolation means in practice.
Sandbox inboxes vs custom-domain inboxes
mailbot has two kinds of inboxes. They behave the same to your code, but they have different limits and trust profiles.
Sandbox inbox
- address pattern:
{username}--{accountShortId}@mailbot.id - DNS, SPF, DKIM are managed by mailbot
- shared-domain inbox cap:
250sends per day and25/minburst guard; account restrictions may be lower or pause sending entirely - intended for: first success, prototypes, integration testing, internal automation that does not need branded sender identity
Custom-domain inbox
- address pattern:
anything@yourdomain.comonceyourdomain.comis verified - you control DNS; mailbot publishes the records you must add
- daily send limit: check the returned inbox limit and account allowance; both apply
- intended for: production, customer-facing sender identity, branded outbound
When you onboard, the first inbox provisioned is a sandbox inbox. Custom-domain inboxes come later, when the domain passes the compliance check.
Lifecycle
An inbox moves through a small number of states:
- created: the inbox exists; permissions and account restrictions still apply.
- active: the inbox can be used subject to its permissions and account limits.
- disabled: the inbox is soft-deleted and cannot send or receive. Retained history remains available subject to plan retention.
There is no hard delete from the API. Disabling an inbox does not immediately remove its history. Message and audit retention still depend on the plan.
What lives on an inbox
Every inbox carries:
- address — the email address itself
- labels — your own tags (
outreach,support,ops, etc.) used for filtering and grouping - threads — see Threads
- messages — both directions, plus delivery and engagement state
- events: sent and received notifications, plus recorded engagement signals when available
When you call GET /v1/inboxes/:id, you get the inbox row plus its current usage and limit state. When you call GET /v1/inboxes/:id/messages, you get its message history scoped to that inbox.
Why this model
mailbot separates inboxes for three reasons:
- Reasoning — an AI agent that owns an inbox can reason about its own state without seeing other inboxes' state.
- Reputation — sender reputation is per-address. Isolation per inbox makes it possible to suspend one address without affecting others on the same account.
- Operations — limit enforcement, replay, audit, and webhook scope all become predictable when the boundary is the inbox.