Shared team addresses
Set up addresses like support@ or sales@, and choose exactly who can read, send as, or fully manage each one.
Open source · MIT licensed
Give your organisation real email: personal inboxes for everyone, shared addresses for teams, and clear control over who can access what. It runs in your own Cloudflare account, on your own domain — not a service you rent from us.
MIT licensed Your domain, your data Sign in with Google, Microsoft, or an email code
Product tour
Real cmail screens, filled with sample data. Personal mail, shared team mail, and admin tools all live in one place — with no shared passwords and a clear record of who did what.
Capabilities
The features that matter for running organisational email well.
Set up addresses like support@ or sales@, and choose exactly who can read, send as, or fully manage each one.
People use the account they already have, or a one-time email code for a mailbox hosted elsewhere. No extra password for you to store, and managers can restrict sign-in to approved countries.
Mail flows through Cloudflare, or Postmark if you prefer — not a sandbox or a demo.
When someone asks “did my email arrive?”, search delivery history and admin activity in one place.
Require people to accept your IT policy before they get mail access. Layer personal and company signatures automatically.
Flags suspicious links, look-alike senders, and messages from people you’ve never heard from before.
Set up teams, roles, and reporting lines. Directory details stay internal by default.
Install cmail on a phone or desktop, and get notified when new mail arrives.
Connect Claude or another MCP client with a browser sign-in. People choose the mailboxes and permissions; sending stays off unless they turn it on. How it works
Shared mailboxes
Everyone signs in with their own Google or Microsoft account — nobody shares a password. A manager creates the shared address and decides exactly what each person can do with it. Afterwards, it’s clear who did what.
Folders, read status, and sent mail are shared with everyone who has access. Drafts stay private until sent. (cmail borrows the term “Exchange-style” from Microsoft Exchange for these permission levels — it’s an independent, Cloudflare-native product, not a Microsoft Exchange server.)
MCP integration
cmail includes a remote Model Context Protocol (MCP) server. An AI app such as Claude can search, read, draft and organise mail for you, but only in the mailboxes and only with the permissions you approve, in a sign-in window that cmail controls. It's off until your organisation turns it on.
https://mail.your-domain/mcp
The consent screen names the app (and, where it can, the website that vouches for it), shows where you'll be sent back, and starts with the safest choices: read and draft on; send, organise and calendar off. Personal mail is ticked; shared team mailboxes are opt-in.
Every request is checked again against what you approved and what you can still access. Lose access to a shared mailbox and the app loses it on its next request.
Sending is opt-in. An app can only send if you tick "Send email as you". Even then it's limited per hour, and drafting for your review stays the recommended default.
Designed for MCP clients that support remote servers with OAuth sign-in, such as Claude's custom connectors and Claude Code. Like the rest of cmail it's pre-1.0 and hasn't been independently audited: review it for your own requirements, and remember that an app you approve can read the mail you share with it. Read the MCP guide and threat model.
Deploy
Clone the repo, create your Cloudflare database and storage bucket, set up sign-in, and store your secrets — then verify mail flow before you go live.
# clone, configure, and validate
git clone https://github.com/Rob142857/cmail.git
cd cmail
pnpm install
pnpm setup
pnpm validate