Open-source email · Built on Cloudflare
Email for your organisation.
Personal and shared mailboxes on your own domain.
Stanchion (formerly cMail) is open-source organisational email that runs on Cloudflare. Everyone gets their own inbox, teams get shared addresses like accounts@ or support@, and people sign in with the Microsoft or Google account they already have.
- you@your-domainYour own inbox Personal
- accounts@your-domainYou can read and reply as the team Shared · Send as
- support@your-domainYou can read, not reply Shared · Read
Your domain, your account
Stanchion is software you run, not a mailbox you rent from us. It runs in your organisation's own Cloudflare account, on your own domain.
Open source
The code is public under the Apache License 2.0, so you can read what holds your mail.
In production today
Stanchion runs in production for three organisations, including our own.
What you get
The email a small organisation needs
All of this is built and in the open-source code today.
Webmail
Read, write and search mail in the browser. Drafts save themselves, and you get attachments, conversation threads, folders and an Outlook-style formatting bar.
User guide about webmailShared mailboxes
Team addresses without a shared password. A manager gives each person Read, Send as or Full access, and it stays clear who did what.
More about shared mailboxesCalendar
Meeting invitations arrive as mail. Accept or decline, send your own, and see an agenda for each mailbox. Repeating series and free/busy lookup are not included yet.
More about calendarInbox rules
Outlook-style rules for each mailbox that file new mail, mark it read, star it or set its importance, with exceptions and a Run now button.
More about inbox rulesSpam quarantine
Every inbound message gets a spam score. A manager sets the score that sends mail to Spam, and can allow or block senders for everyone. Quarantine never deletes mail.
More about spam quarantineDelivery status and bounce notices
With Cloudflare Email Sending events switched on, sent mail shows Delivered, Delayed or Bounced, and a bounce puts a plain undeliverable notice in the sender's Inbox.
More about delivery status and bounce noticesManager tools
Users, mailboxes, signatures, policy sign-off, audit records and a mail trace for "did my email arrive?", in one place.
Manager handbook about manager toolsPhone and desktop
Install Stanchion as an app on a phone or computer, with optional new-mail alerts. It needs a connection: mail is not kept offline.
More about phone and desktopAI assistant connector
A built-in MCP server lets an AI assistant such as Claude search, read and draft mail, only in the mailboxes and with the permissions each person approves. Off by default; sending is a separate opt-in.
More about ai assistant connectorSign-in
Use the accounts people already have
People sign in with Microsoft or Google, so there is no extra password to remember or reset. New people join through a manager's invitation, and nobody shares a login to reach a team mailbox.
- Sign in with Microsoft or Google. Each one appears only once it is fully set up.
- An emailed one-time code for invited people whose address is hosted somewhere else.
- Passkeys are optional and off by default. A manager can switch them on as another way in.
- Managers can limit sign-in to approved countries, with an approval step for travel.
How it runs
Built on Cloudflare
Stanchion has no mail server to patch. It runs on Cloudflare's own services, in your account.
- Email RoutingReceives mail for your domain and hands it to Stanchion.
- WorkersRun the web app and the mail handling.
- D1The database for accounts, mailboxes and message records.
- R2Storage for message bodies and attachments.
- Email SendingSends your outbound mail. Postmark is supported as an alternative.
Hourly backups. An optional backup Worker copies message bodies and attachments to a separate private R2 bucket every hour, and saves the database daily. Restoring is written up as a runbook, and we have tested it. Backup and restore
Your domain's DNS needs to be on Cloudflare. How Stanchion runs on Cloudflare
Honest status
Where it stands today
What runs now, and the limits to know before you choose it.
Stanchion today Running
- In production for three organisations, including our own
- Webmail, shared mailboxes, calendar, inbox rules and spam quarantine
- Sign-in with Microsoft or Google
- Sending and receiving on Cloudflare, with delivery status and bounce notices
- Hourly backups and a tested restore runbook
Limits to know Read first
- Stanchion is beta software (0.9, before 1.0). Work through the security checklist and test it before it carries your mail.
- Browser and installable app only. There is no IMAP, POP or ActiveSync yet, so the Outlook and Apple Mail apps cannot connect to it.
- It is not a bulk-marketing or campaign tool.
- Mapped to ISO 27001 and ITIL practices: aligned, not certified.
- Your organisation holds its own Cloudflare account, sign-in setup, DNS and backups.
Optional add-ons
Already on Microsoft 365?
Optional add-ons are in the code, each off by default with its own switch: Microsoft 365 sync (staff accounts and shared mailboxes from Exchange Online, with Microsoft sign-in for synced staff and optional welcome emails), shared mailbox access copied from Exchange, an Exchange mirror that copies new mail into Stanchion as it arrives, and a standby for the day Exchange Online has an outage.
The standby has its own page: Non-brittle email, a standby for Exchange Online.
Support
Ongoing support
Run Stanchion yourself, or let RME Solutions support it at one of three levels.
L1: Help desk
Help for your people: signing in, passkeys, shared mailboxes and everyday mail questions.
L2: Administration
Accounts and mailboxes, sign-in setup, DNS and mail flow, spam settings and backups.
L3: Engineering
Incidents, upgrades, restores and changes to the open-source code.
Apache 2.0 licence
Open source
Stanchion's code is public (the repository keeps its former name for now). You can read it, run it yourself, or fork it, as long as you keep the licence and the NOTICE file, which credits RME Solutions Technology. The documentation covers install, upgrades, how each feature works and how it runs on Cloudflare.
Get started
Thinking about Stanchion for your organisation?
Tell us about your domain and how many people need mail, and we will tell you plainly whether Stanchion fits.