GentleMail is an open-source (MIT) webmail, email API and webhooks that you deploy to your own Cloudflare account. One deployment sends and receives for all your domains, with as many mailboxes and people as you want. It costs Cloudflare's $5/month Workers plan, with 3,000 sent emails included and receiving unlimited. It also exposes an MCP server so you can connect with your favorite LLM.
About the "self" part: it runs on your own Cloudflare account, not on your own hardware, and there's no Docker image. No one else hosts your mail, but Cloudflare does run it. In exchange there's no mail server to keep alive, no port 25 and no IP reputation to warm up.
How a message travels:
- Email Routing's catch-all hands each message to the Worker. Unknown or turned-off addresses are refused there.
- The message and its conversation go to D1. The original .eml and its attachments go to R2.
- People read it in the webmail. Programs get a signed webhook (HMAC-SHA256, retried for about a day).
- Sending uses the `send_email` binding. The app never asks for an API token or account ID: everything goes through bindings.
0.7 adds a formatted composer based on Lexical and French language support, with translations provided by Lingui.
What it doesn't do yet:
- No IMAP, POP or SMTP: you use the webmail, the API or an AI assistant, not Thunderbird or Apple Mail.
- No saved drafts, and no images inside the text (attachments are fine, up to 25 MB).
- Spam is Cloudflare's checks plus the senders you block. Nothing reads the content.
- It depends on Cloudflare: your DNS there, and the $5/month Workers Paid plan. Its email sending is still labelled beta.
The default branch on GitHub is now `main`, which only holds releases. Work happens on `dev`.
Thank you to everyone who has been following us on this journey.
Docs: https://gentlemail.dev/docs/
Code: https://github.com/Softwaiz/gentlemail