Create Mailbox
create_mailboxCreate an email address. Specify slug (required) and optionally domain. Pass workspace_id to create it inside a workspace you own; custom-domain creation atomically adopts the domain and all unscoped sibling mailboxes so a domain is never split. Custom-domain capacity follows the active account or workspace plan. For imported domains (external registrar): returns DNS records to add manually at your registrar. For domani.run: omit domain; each account has one free mailbox. Pass force=true to override an existing email provider (Google Workspace, etc.). API: POST /api/emails with {address}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name for outbound emails, e.g. 'John Doe'. Shows as 'John Doe <slug@domain>' in recipients' inboxes | |
| slug | Yes | Local part of the email address, e.g. 'hello' for hello@mysite.com | |
| force | No | Override existing MX records (e.g. Google Workspace). Default: false | |
| domain | No | Domain for the mailbox. Omit for domani.run | |
| workspace_id | No | Workspace ID from list_workspaces; owner-only |