# Docs: deploy, domains, AI, MCP, CLI and SDKs · cloudmail

> cloudmail documentation lives with the source on GitHub: deploying, domains, sending, security, privacy, AI, the MCP server, CLI, SDKs and webhooks.

Canonical: https://trycloudmail.com/docs
Last updated: 2026-11-24

**Documentation.** The docs live next to the code on GitHub, so they change in the same commit as the feature they describe.

[The cloudmail repository on GitHub](https://github.com/cloudmail-hq/cloudmail)

## Get started

- [Quick start](https://github.com/cloudmail-hq/cloudmail#deploy) - Deploy, create the owner, connect Cloudflare and activate your licence.
- [Plan requirements](https://github.com/cloudmail-hq/cloudmail#cost-and-plan-requirements) - Which Cloudflare plan you need, and why.
- [Deploy with an AI agent](https://github.com/cloudmail-hq/cloudmail#deploy-with-an-ai-agent) - A prompt that deploys from Claude Code, Codex or Cursor.
- [Licence](https://github.com/cloudmail-hq/cloudmail#licence) - Activation, daily check-ins and what happens if one fails.
- [Importing mail](https://github.com/cloudmail-hq/cloudmail/blob/main/docs/reference.md#importing-mail) - Google Takeout, .mbox, .eml and IMAP imports.
- [Troubleshooting](https://github.com/cloudmail-hq/cloudmail/blob/main/docs/troubleshooting.md) - Lost setup tokens, lockouts and connection problems.

## Run it

- [Domains](https://github.com/cloudmail-hq/cloudmail/blob/main/docs/reference.md#multi-domain-support) - Adding domains, the DNS records each needs, aliases and catch-alls.
- [Sending through SES or Resend](https://github.com/cloudmail-hq/cloudmail/blob/main/docs/ses-sending.md) - Use your own Amazon SES or Resend account per domain.
- [People, roles and access](https://github.com/cloudmail-hq/cloudmail/blob/main/docs/reference.md#authorization) - Per-mailbox roles, delegation and the access log.
- [Security model](https://github.com/cloudmail-hq/cloudmail/blob/main/docs/reference.md#security-model) - Passwords, passkeys, 2FA, sessions and rate limits.
- [Privacy and data controls](https://github.com/cloudmail-hq/cloudmail/blob/main/docs/reference.md#privacy-and-data-controls) - Tracking switches, retention, export and account deletion.
- [AI models and gateways](https://github.com/cloudmail-hq/cloudmail/blob/main/docs/reference.md#bring-your-own-ai-gateway) - Workers AI models per task, or your own AI gateway.
- [Usage and cost](https://github.com/cloudmail-hq/cloudmail/blob/main/docs/reference.md#usage-and-cost) - The Usage tab, Cloudflare charges and budget alerts.
- [Push notifications](https://github.com/cloudmail-hq/cloudmail/blob/main/docs/reference.md#push-notifications) - Web Push on phones and desktops.
- [Suppressions and unsubscribe](https://github.com/cloudmail-hq/cloudmail/blob/main/docs/reference.md#suppressions-and-unsubscribe) - Bounces, complaints and one-click unsubscribe.

## Build on it

- [Agent sends and approval](https://github.com/cloudmail-hq/cloudmail/blob/main/docs/reference.md#agent-sends-and-approval) - Send modes, held sends and trusted integrations.
- [MCP server](https://github.com/cloudmail-hq/cloudmail/blob/main/docs/mcp.md) - Tools, safety model and client setup.
- [CLI](https://github.com/cloudmail-hq/cloudmail/blob/main/cli/README.md) - Install, authenticate and script the command line.
- [TypeScript SDK](https://github.com/cloudmail-hq/cloudmail/blob/main/sdk/typescript/README.md) - Typed client generated from the OpenAPI document.
- [Python SDK](https://github.com/cloudmail-hq/cloudmail/blob/main/sdk/python/README.md) - Typed client with webhook verification and event streams.
- [API tokens and scopes](https://github.com/cloudmail-hq/cloudmail/blob/main/docs/reference.md#programmatic-access) - Personal tokens, scopes and mailbox limits.
- [Webhooks](https://github.com/cloudmail-hq/cloudmail/blob/main/docs/reference.md#webhooks) - Events, signatures and retries.
- [Realtime events](https://github.com/cloudmail-hq/cloudmail/blob/main/docs/realtime.md) - WebSocket and Server-Sent Events streams.
- [Agent inboxes](https://github.com/cloudmail-hq/cloudmail/blob/main/docs/reference.md#agent-inboxes) - A mailbox and token for one agent, with an expiry.

## Related

- [How deploy works](https://trycloudmail.com/deploy)
- [Agents and developers](https://trycloudmail.com/agents)
- [MCP, API and CLI](https://trycloudmail.com/mcp)
