Description
Mailroom is a self-hosted email system that people and AI agents share. People read, compose and reply through a Gmail-style web interface, while agents read and send mail through MCP. Incoming mail can be sorted with automatic labels written as natural-language rules, and an agent can draft a reply that waits for one-click human approval before it is sent. The mail workspace handles several addresses and domains in one place, threaded replies with attachments, full-text search, unread and draft filters, bulk mark-as-read and archive, and restoring archived conversations. Opt-in Web Push alerts notify you of new messages. Agents connect through scoped OAuth access, and sends are idempotent and limited to a daily amount. The whole system runs on Cloudflare Workers, Email Routing, D1, R2 and Web Push in your own Cloudflare account, so your data stays in your account. A one-click deploy button provisions the resources and database migrations. The web app and MCP consent share one sign-in through Cloudflare Access, and the project is open source.…
Highlights
- Shared inbox for people and AI agents
- Automatic labels from natural-language rules
- Reply drafts that wait for approval
- MCP access with scoped OAuth
- Runs on your own Cloudflare account
Ratings & Reviews
No ratings yet
Be the first to rate CF Mailroom.
People also visit

Molted Email
Secure mailboxes for AI agents. Send and receive email with built-in guardrails
CF Mailroom FAQ
What is Mailroom?
A self-hosted email system for humans and AI agents. It runs on Cloudflare and gives you a Gmail-style web interface and an MCP server for agents.
What do I need to deploy it?
A domain on Cloudflare, R2 enabled, and the Workers Paid plan for outbound email. The deploy button needs the repository to be public.
Does an AI agent send mail on its own?
Agents can send new mail and replies through scoped OAuth access, with a daily limit. AI reply drafts, however, wait for your approval before they are sent.
Where is my data stored?
In your own Cloudflare account, using D1 for the database, R2 for files and Queues for background work.
What are the best CF Mailroom alternatives?
Popular alternatives to CF Mailroom include Molted Email, Agentic Inbox and e2a. See all CF Mailroom alternatives






