# Custom domains

Custom domains are available on the Pro plan (up to 10). Add your domain in **Settings, Domains** or with `POST /api/v1/domains`, publish the DNS records shown there, then verify.

| Type | Host | Value | Needed for |
| --- | --- | --- | --- |
| TXT | `_botmail.example.com` | `botmail-verify=<token>` | Proving ownership. Required before inboxes can be created. |
| MX | `example.com` | The mail host shown in the dashboard | Receiving mail from the internet. |
| TXT | `example.com` | `v=spf1 include:... ~all` (exact value shown) | Sending. |
| CNAME | Three DKIM hosts | Values shown in the dashboard | Signing outgoing mail. External sending is blocked until DKIM verifies. |
| MX, TXT | `bm.example.com`, `_dmarc.example.com` | Values shown in the dashboard | Custom MAIL FROM and DMARC (recommended). |

1. Add the domain and copy the records.
2. Publish them at your DNS provider. Propagation can take a few minutes.
3. Press **Verify DNS** (`POST /api/v1/domains/:domain/verify`). It checks the records live.
4. Create inboxes on it: `create_inbox` with `domain: "example.com"`.

You can't remove a domain while it still has inboxes. Sending from a domain can be paused if its bounce or complaint rates are too high; see Limits and quotas.

## Guides

- [Email for AI agents](https://mailforbots.com/email-for-ai-agents)
- [A hosted MCP email server](https://mailforbots.com/mcp-email-server)
- [How to require human approval before an AI agent sends email](https://mailforbots.com/blog/human-approval-for-ai-agent-email)
