Deploy a near-zero-cost email service on Cloudflare to create and manage multiple email addresses on your own domain
Build a multi-user email system with role-based access controls so different users can only reach the inboxes or features you allow
Forward incoming emails to a Telegram bot for real-time notifications without checking a webmail interface
Add AI-powered verification code extraction so incoming login codes are automatically surfaced from email content
Requires a Cloudflare account with Workers, D1, R2, and KV enabled, plus a Resend account for outgoing email delivery.
Cloud Mail is a self-hosted email service you can deploy using Cloudflare's free-tier infrastructure. With a single domain name, you can create multiple email addresses, send and receive messages with attachments, and manage everything through a web interface. Because it runs on Cloudflare Workers rather than a traditional server, the ongoing hosting cost can be close to zero depending on usage volume. The README is primarily written in Chinese. The system handles outgoing mail via the Resend email service, including bulk sending, embedded images, and file attachments. Incoming email can be forwarded to a Telegram bot or to another email address. Received files are stored in Cloudflare R2 object storage. An AI-powered step using Workers AI automatically reads verification codes out of incoming emails. On the management side, there is an admin panel with role-based access controls that can restrict which features and resources users can reach. Usage charts built with ECharts visualize email volume and user growth over time. The web interface is responsive and adjusts to desktop and mobile browsers. A CAPTCHA challenge using Cloudflare Turnstile is included to prevent automated signups. The technical stack is Cloudflare-native throughout. The backend runs on Workers with the Hono web framework and uses Drizzle ORM against Cloudflare D1 as the database, with Cloudflare KV for caching. The frontend is Vue 3 with the Element Plus component library. An open API supports batch user creation and querying emails with multiple filter conditions. The project is MIT licensed and available on GitHub under the eoao/cloud-mail repository name, though the online demo and documentation links point to an external site.
← eoao on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.