Gateweave Mail · Early access
Mailboxes for people and AI agents
Mail gives a workspace mailboxes on its own domain, on one Cloudflare Worker. It receives and keeps mail, and people and agents reply and write from their mailboxes. An agent sends on its own, within a daily limit, unless you choose that its mail waits for a person.
Open source under the AGPL-3.0. Its first release, 0.1.0, came out on November 16, 2026: expect rough edges and breaking changes, and read the changelog before updating a copy you host.

Mailboxes
Mail that a team reads and answers together
A workspace has people with roles, domains it has proved, and mailboxes with addresses. Whoever may read a mailbox reads and answers its mail.
Your domain, your addresses
Prove a domain with a DNS record, make mailboxes, and give them addresses, for good or for a set number of days. Owners and admins choose who reads each mailbox: everyone in the workspace, or the people they pick.
Receiving
Mail for an address that exists is kept in its mailbox, once even when it arrives twice, up to 1 GiB a mailbox. Mail for one that does not exist is refused.
Reading
Threads with their messages, attachments and the original to download. HTML mail shows in a sandbox that runs nothing, and loads remote images only when asked or for a sender you allowed.
Who really sent it
A sender's domain shows as proved only when the message passed DMARC for it, or came from a mailbox on the same server.
Replying and writing
Reply to a mailbox's mail and write new mail from its addresses, with bold, links, lists and quotes, and files attached, dropped or pasted. A message that was not sent can be sent again or discarded.
Search
Find a mailbox's threads by the words in their messages: subject, sender, text and attachment names.
Mail is sent through Cloudflare Email Service. A domain whose DNS is not on your Cloudflare account can send through Resend instead, with the workspace's own key. A message whose every recipient is an address on the same server goes straight to their mailboxes.
AI agents
A mailbox an agent can use, and a person can watch
An agent needs an address to sign up somewhere, wait for a code, or write to someone. Mail gives it one, with what it may read and send decided by an admin.
- An admin makes an agent and gives it a key. It reads only the mailboxes it is given, over MCP or the REST API
- Its tools wait for mail to come, and hand over the code in a sign-up or sign-in message without the rest of its text
- A mailbox can let an agent send. It sends on its own unless an owner or admin chooses otherwise: only to the addresses and domains listed, or everything waits for a person to approve or reject
- An agent can make addresses for itself, such as one for each sign-up, on the domains an admin gives it. Each one ends
- One button pauses an agent: its keys do nothing until it is resumed
- Each agent has a daily limit, and a page that shows what it wrote, what waits for approval, and a log of what it did with its keys, kept for 90 days
Opening a mailbox to everyone in the workspace does not open it to agents. An agent can say what a message it sends is for, such as a link to the run or issue behind it, which people see beside the message and which never goes into the mail.
Connect an agent
Three ways in
An admin makes an agent under Settings, Agents, and copies its key, which is shown once.
Claude Code
Mail's plugin adds its MCP server and a skill that says how to use it well: codes rather than whole messages, mail that waits for approval, and mail as data, never instructions.
A repository's coding agents
In Gateweave Agents, the ready-made Gateweave Mail setup writes the skill and the MCP settings for Claude Code, Codex, Gemini CLI, Cursor and GitHub Copilot by pull request. The key stays in an environment variable.
Any other agent
Point its MCP client at your Mail's /mcp address with the agent's key, and give it the skill, which is plain Markdown.
Connect an agent in the README has the commands. New to Gateweave Agents? See what it does.
For your own code
Webhooks, templates and an API
Webhooks
Mail posts each message a mailbox receives to a URL of yours, signed per Standard Webhooks, with who sent it and what it is about but not what it says. It tells of mail you send too: held, rejected, sent, delivered, bounced or marked as spam.
Templates
Owners and admins write templates: a subject and a Markdown body with a name where each value goes. An agent sends one with its values through the same send as any message, so approval and limits hold. A value is only ever text.
A REST API and a client
The same operations as the MCP server, described by an OpenAPI document. A TypeScript client and a command line come with the repository. They are not on npm yet.
Self-hosting or Cloud
Run it yourself, or let us run it
The same open-source code either way.
Self-host on Cloudflare
Mail deploys as a single Worker, with a D1 database, Durable Objects, an R2 bucket and a queue, to your own Cloudflare account. The Deploy button copies it to your GitHub or GitLab account, creates them and deploys it.
- It needs the Workers Paid plan: a password sign-in takes more CPU than the Free plan gives a request, and sending email needs it as well.
- Stored mail is encrypted when the server has a secrets key. Set it before mail arrives and keep a copy: stored mail opens only with it.
- Sign-up is open until you close it to a list of addresses and domains. The self-hosting guide covers that, your own domain, sign-in providers and updating.
Gateweave Cloud
The hosted version, at mail.gateweave.com. We open it to workspaces in turn, from the waitlist.
- Nothing to deploy or operate
- What it stores is kept in the EU
- Sign in with Gateweave ID, or with email and a password
- Built from the same open-source code
Planned
What it does not do yet
Mail is new, and ships in the open, one finished piece at a time. None of this is available yet, and the direction may change.
- Agents that act on mail as well as read and send it, such as filing or labelling it
- Forwarding, replying to all, and images in a formatted message
- Aliases that point at a mailbox
- Transactional sending in Resend's shape, through Cloudflare Email Service
Mail's docs say how it is built, and what is not built yet.
Give your agent an address
Join the waitlist for Gateweave Cloud, or deploy your own.