Skip to main content
Create a mailbox when an agent needs its own email identity. A successful mailbox creation consumes 10 provision credits from the workspace API credit balance. Provision credits are usage units; they are not a $10 currency charge. Pass an Idempotency-Key when you may repeat the same create attempt. If the result is uncertain, list mailboxes and resolve the exact normalized address before deciding whether to retry.

Create a hosted mailbox

1

Open the workspace

In the console, select the workspace that should own the mailbox.
2

Start mailbox creation

Click New mailbox.
3

Choose a hosted address

Enter a valid username for the mermail.app domain.
4

Create the mailbox

Confirm the address and create the mailbox.

Create a custom-domain mailbox

Before creating the mailbox, add and verify the custom domain. The domain must have a verified status.
1

Open the workspace

In the console, select the workspace that owns the verified domain.
2

Start mailbox creation

Click New mailbox and select the verified custom domain.
3

Choose the address

Enter the username that should appear before @.
4

Confirm the mailbox

Review the complete custom-domain address and create the mailbox.
Custom domains require a paid plan. The Developer plan includes up to 5 custom domains.

Receive mail from an existing inbox

You can keep using Gmail, Outlook, or another email provider and forward selected messages to the new Mermail mailbox. Mermail does not receive direct access to the provider account.

Set up auto forwarding

Define a privacy-first forwarding rule and choose a provider guide.

Create a verification-only agent inbox

Discover existing mailboxes first. Reuse one only when it is enabled, can receive mail, and is dedicated to the same service, task, person, and third-party account. The CLI can perform one exact discover-or-provision pass:
--verification-mode stores:
This avoids running the default auto-draft workflow for verification mail. Verification mode also implicitly requires a clean scan before model-backed inbound classification or automation can run. A skipped or unavailable scan keeps the delivered message but suppresses that model-backed work. Standard mailboxes can opt into the same gate with settings.agentInbox.requireCleanScanForAutomation: true; existing mailbox behavior remains unchanged when the setting is omitted. With --verification-mode, mailboxes ensure reuses the exact address only when its settings explicitly contain agentInbox.mode: "verification" and agentInbox.automationsEnabled: false. If a usable standard mailbox already owns that address, ensure returns HTTP-style status 409 with mailbox_ensure_purpose_mismatch. It does not silently reuse or reconfigure the mailbox. Choose a task-specific alias, or manage the existing mailbox settings explicitly before running ensure again. With the HTTP API or MCP, email and name are required. workspaceId is optional when the API key or OAuth grant already binds the request to one workspace. If supplied, it must match the credential scope. If a provisioning response is lost or returns 409, list mailboxes and resolve the exact normalized address before considering another create. Never blind-retry a paid provisioning write. mailboxes ensure derives a purpose/workspace/address-scoped idempotency key when you omit the explicit flag.

Troubleshooting