finds.dev

maillab/cloud-mail

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

View on GitHubHomepage ↗

★ 11,134JavaScriptMITupdated Jun 2026

// the take

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.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
11,134
Forks
15,272
Language
JavaScript
License
MIT
Last commit
9 Jun 2026

// nearby

If cloud-mail isn't quite it.

All repos →