AI-first mailbox for teams & agents on your Cloudflare account.
The Google Workspace and Outlook alternative. Mailboxes for your team and your agents, with replies drafted by AI.
- Claude Code
- Claude
- Cursor
- Codex
- Gemini CLI
- GitHub Copilot
Google Workspace and Outlook alternative
Everything your company does with email. Without the per-seat bill.
cloudmail is the whole mail platform for a business: everyone's mailbox, shared addresses, every domain you own, sign-in and security. Moving over from Google or Microsoft takes an afternoon.
What your team gets
- Mailboxes on every domain you own: for each person and role, with aliases and catch-alls.
- Shared inboxes: support@ and sales@ for the whole team, with roles from viewer to owner.
- Sign-in and security: passwords, passkeys, authenticator 2FA and an audit log.
- Spam and strangers handled: a Screener for first-time senders, block rules and look-alike warnings.
- On your phone and desktop: install it as an app, with push notifications for new mail.
- Templates, sequences and tracking: for the mail you send more than once, with delivery, opens and clicks.
Switching from Google or Microsoft
- Bring your old mail: from Google Takeout, .mbox, .eml or any IMAP account, with labels, threads and read state.
- A guided setup: that shows every DNS change before it makes it, and checks the records live.
- Pay once, not per person: one licence for the deployment, however many people you hire.
- Your mail, in your account: each mailbox is its own database in your Cloudflare account. We never receive it.
- Leave whenever you like: export everything as .mbox files from Settings at any time.
cloudmail vs Google Workspacecloudmail vs Microsoft 365 and OutlookImport your mail from Gmail or IMAPInstall it on your phone and desktop
Agent-first
A mailbox for every person. And one for every agent.
Agents shouldn't borrow your login. In cloudmail an AI agent gets its own real address, with its own token, its own send rules and its own expiry, while people keep their mailboxes to themselves.
Mailboxes for people
- A mailbox of their own: plus the shared inboxes they work in, with a role in each.
- Replies drafted for them: new mail can arrive with a draft reply already waiting in Drafts.
- The last word on sending: anything an agent sends waits in Pending approval until a person approves it.
- An assistant in the side panel: that reads, searches, files and drafts with the mailbox's own tools.
Mailboxes for agents
- A real address of its own: agent-…@yourdomain.com, separate from every person's mailbox.
- Its own token: confined to that one mailbox, so an agent never borrows a person's login.
- Its own send rules: drafts only, approve every send, or send on its own, plus a recipient allowlist.
- Its own lifetime: set an expiry and the token is revoked and the mail archived to your R2 bucket.
AI-first
AI in every part of the inbox.
Summaries, sorting, search and drafting are part of how mail arrives, on Workers AI in your own Cloudflare account or on the model gateway you choose.
Replies drafted for you
Optional, per mailbox, with your own instructions. Drafts wait for you and are never sent on their own.
A summary on every thread
One line in the list and up to three bullets in the reader.
Labels you describe
Write a label's purpose in plain words and new mail that fits gets it. Corrections teach it.
The Screener
Mail from people you've never written to waits until you say yes or no.
Ask your inbox
Ask a question and get a short answer with links to the messages it came from.
A daily brief
What needs a reply, what is still waiting on others, and what arrived, at the time you choose.
An agent in the side panel
It reads, searches, files and drafts with your mailbox's tools, and anything it writes waits for you.
Prompt-injection screening
Mail is checked before any AI acts on it, and suspicious reads hold an agent's sends.
Your model, your gateway
Workers AI in your own account, or your own Anthropic- or OpenAI-compatible gateway, per task.
The AI email assistantAI labels and the ScreenerAsk your inbox a questionChoose your own AI model
MCP, CLI, SDKs and a Skill
Your agents already know how to use it.
Connect Claude, Cursor, Codex or your own code in a minute. Agents read, file and draft with exactly the permissions you give them, and sends wait for a person unless you decide otherwise.
- MCP server73 tools at /mcp. Clients sign in through your browser with OAuth.
- Agent SkillOne install teaches Claude Code, Codex, Cursor and other coding agents to work your mail safely.
- The cloudmail CLIPrebuilt for macOS, Linux and Windows. Tables for people, JSON for scripts, --dry-run on every change.
- TypeScript and Python SDKsEvery REST operation, with idempotency keys so a retry never sends twice.
- Webhooks and live eventsSigned events for received, sent, bounced, opened and clicked mail.
Read the developer overviewThe MCP server for emailThe email API, CLI and SDKs
# Signs in through your browser with OAuth
claude mcp add --transport http cloudmail \
https://mail.yourdomain.com/mcp
# Headless agents use an API token instead
claude mcp add --transport http cloudmail \
https://mail.yourdomain.com/mcp \
--header "Authorization: Bearer ttk_..."# A separate mailbox for one agent, with its own token
cloudmail agent-inbox create --domain yourdomain.com \
--purpose 'Invoice triage' --send-mode approve \
--allow @partner.com --ttl-hours 24
cloudmail agent-inbox list # addresses, send modes, time left# Claude Code
/plugin marketplace add cloudmail-hq/skills
/plugin install cloudmail@cloudmail
# Codex, Cursor, Gemini CLI, Copilot and others
npx skills add cloudmail-hq/skillscloudmail config set base-url https://mail.yourdomain.com
cloudmail auth login # paste a ttk_ token; input is hidden
cloudmail mail list --folder inbox --unread --limit 10
cloudmail mail send --to priya@example.org \
--subject 'Pilot start' --text 'Monday works.' --dry-run
cloudmail approval list # sends held for a person
cloudmail events tail --mailbox support@yourdomain.comimport { Cloudmail, isPendingApproval } from "@cloudmail/sdk";
const mail = new Cloudmail({
baseUrl: "https://mail.yourdomain.com",
token: process.env.CLOUDMAIL_TOKEN!,
});
const result = await mail.mail.send("support@yourdomain.com", {
to: "priya@example.org",
subject: "Pilot start date",
text: "Monday works.",
});
if (isPendingApproval(result)) {
// Nothing was sent. A person approves it in the app.
console.log("held:", result.approval_url);
}from cloudmail import Cloudmail, is_pending_approval
cm = Cloudmail("https://mail.yourdomain.com", token="ttk_...")
result = cm.mail.send(
"support@yourdomain.com",
to="priya@example.org",
subject="Pilot start date",
text="Monday works.",
)
if is_pending_approval(result):
print("Waiting for approval:", result.approval_url) # don't retryA tour of cloudmail
Drafts and approvals
AI drafts the reply. You press send.
Anything an AI agent sends, through the MCP server, an API token or the built-in assistant, waits in Pending approval. You see the exact message that will go out, then approve, edit or reject it. An agent can never approve its own send.
- Per mailbox: drafts only, approve every send, or let one trusted integration send on its own.
- Recipient allowlist: sends to known addresses can skip the queue.
Domains and teams
Every domain you own, in one place.
Add your domains, give each person the mailboxes they need, and send from any alias. The domain page lists every DNS record the domain needs and checks them live, so you know mail will land before you send any.
- Shared inboxes with viewer, agent, manager and owner roles.
- Your own sending: Cloudflare Email Service, Amazon SES or Resend, per domain.
- Products: group domains under one brand with its own name, colour, logo and signature.