create_mailbox
Create a new email mailbox for your AI agent, returning a working address immediately. Use this when no suitable mailbox exists—mailboxes persist across sessions, so avoid creating duplicates that strand incoming mail.
Instructions
Create a NEW email mailbox this agent owns. Call this when list_mailboxes shows you have no suitable mailbox yet — mailboxes persist across sessions, so creating a second one for the same purpose strands mail in the first. Returns a working address immediately. Optional slug personalizes the address (agent-@...). To create the mailbox on a custom domain instead of the shared one (@yourdomain.com), pass a domain_id from list_domains — the domain must be verified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Optional. Personalizes the address as agent-<slug>@... Lowercase letters, digits and dashes, max 41 chars. Omit for a generated address. | |
| domain_id | No | Optional. Id of a VERIFIED custom domain from list_domains, to host the mailbox at <slug>@yourdomain.com. Omit to use the shared platform domain. | |
| display_name | No | Optional. Human-readable From name shown to recipients, e.g. "Acme Support Bot". | |
| extraction_schema_id | No | Optional. Id of a JSON Schema to extract inbound mail into. Without it, messages arrive cleaned and screened but with no structured extraction. |