r/coolgithubprojects • u/themx05 • 4h ago
Your emails can now sign with your logo: GentleMail 0.8, an open-source webmail on Workers, D1 and R2
gentlemail.dev
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, with api keys, permission granularity and webhooks support.
Why signatures, in 0.8 ?
The emails you send to customers and partners get opened again: when they compare offers, pass yours to their boss, or look for you three weeks later. The signature is what tells them who you are and where to go next.
- A founder writes as the company they're building. Name, role and logo are on every email, even when the team is one person.
- A salesperson gives every reply a next step. The logo links to the demo, the pricing or the booking page.
- Whoever answers support@ or sales@ signs the same way. If you run several brands, each mailbox has its own logo.
- The people you write to aren't tracked. The logo is inside the message, so opening it loads nothing from your server.
You set it once per mailbox, and it goes on new messages, replies and forwards.
Also in 0.8
- Images inside a message stay in place when you reply to it or forward it.
- Admins are told when a newer version is out, with what changed and what to do before updating. Nothing installs by itself, and you can turn the check off.
How the new parts work
- The logo is kept in R2 and sent as an inline attachment with the `send_email` binding, with a `cid:` reference in the HTML.
- The list of releases is a static JSON file built from the changelog. The cron trigger reads it about once a day and keeps in D1 only what's newer than the version you run.
- That request carries nothing about your instance. Cloudflare adds its `CF-Worker` header, so the domain of your Worker is visible to us. The docs say so, and there's a switch in Admin.
Coming from before 0.7.2, please update: files sent from the webmail or the API could reach the recipient as base64 text. 0.7.2 fixed that, and 0.8.1 is the version to take. From 0.7 there's one migration, `0011_signatures.sql`.
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 you can't put images inside the text you write (a signature's logo and attachments are fine).
- 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.
The repo is at 47 stars. Thank you to everyone who has been following this journey !
