finds.dev← search

// the find

maillab/cloud-mail

★ 11,134 · JavaScript · MIT · updated Jun 2026

A Cloudflare-based email service | 基于 Cloudflare 的邮箱服务 | Cloudflare Email 邮箱 Mail

Cloud Mail turns Cloudflare's free tier into a self-hosted email service: Workers handles the backend, D1 is the database, R2 stores attachments, and KV caches settings. You own a domain, point MX records at Cloudflare Email Routing, and get a Gmail-like web UI for multiple mailboxes. It's aimed at developers who want a cheap, self-hosted mail frontend without running a VPS.

The infrastructure choice is genuinely clever — D1 + R2 + KV + Workers keeps the whole thing inside Cloudflare's free tier for low-traffic use, no server to maintain. Workers AI integration for CAPTCHA recognition in emails is a nice touch that actually solves a real pain point. RBAC with role/permission tables is properly modeled rather than hardcoded admin booleans. Hono + Drizzle is a sensible pairing for Workers — thin, type-friendly, no ORM bloat.

D1 is SQLite under the hood with Cloudflare's replication layer on top — it has known consistency quirks and hard row/storage limits that will bite you well before a serious email load. Sending is delegated entirely to Resend, so you're paying per email the moment you exceed their free tier and can't self-host that piece. The frontend bundles TinyMCE directly in the repo (the full `/public/tinymce/` tree with all plugin minified files), which is a licensing land mine since TinyMCE Community is GPL. No mention of DKIM/SPF setup in the README, which matters for deliverability — incoming works via Cloudflare Email Routing but outbound reputation is entirely your problem.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →