hieunc229

Email client with custom domain based on Cloudflare

15
2
85% credibility
Found May 26, 2026 at 15 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

Mailflare is a self-hosted email platform that runs on Cloudflare Workers, letting anyone set up their own email service with a modern web dashboard. You connect your domain through Cloudflare, create mailboxes for different purposes (like support or billing), and Mailflare handles the DNS routing automatically so you can both receive and send emails. The platform includes a full dashboard for browsing your inbox, composing messages, and managing folders, plus an API with authentication keys so you can send emails from scripts and applications. Webhooks can notify external systems when emails arrive or are sent.

How It Works

1
🔍 Discover Mailflare

You find a project that lets you run your own email service on Cloudflare's fast network, with a nice web dashboard for managing mailboxes.

2
🚀 Launch your email workspace

With one click from the deploy button, Cloudflare sets up everything needed - the app, the database, and the file storage for your emails.

3
📝 Create your account

You sign up by choosing a username on your domain, setting a password, and adding a recovery email. Mailflare automatically sets up your first mailbox and routing rules.

4
Choose how to use your email
🖥️
Use the dashboard

Read your inbox, compose new messages, browse sent mail, manage drafts, and organize spam - all in a clean interface that feels like a modern inbox.

⚙️
Use the API

Generate API keys with send and read permissions, then send emails from any app or script with a simple HTTP request.

5
🌐 Add domains and mailboxes

Connect additional domains through Cloudflare, create unlimited mailboxes like support@ or billing@, and everything automatically configures the DNS routing for you.

6
🔔 Connect webhooks

You can set up webhook URLs to receive notifications whenever emails arrive or are sent, keeping your other tools and automations in sync.

Your email platform is live

You've got a complete email workspace running on Cloudflare - receiving mail, sending through a clean interface, accessible via API, and sending event notifications to your systems.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 15 to 15 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is mailflare?

Mailflare is a self-hosted email platform that runs entirely on Cloudflare's edge infrastructure. Instead of paying for a third-party email service, you bring your own domain, and Mailflare handles receiving mail through Cloudflare Email Routing and sending through Cloudflare Email Sending. The interface gives you a full inbox, sent folder, drafts, spam management, and a compose window with auto-save. Everything is written in TypeScript and deploys as a Cloudflare Worker with D1 for storage.

Why is it gaining traction?

The main draw is that you own the infrastructure without managing servers. Cloudflare handles deliverability and reputation, while Mailflare provides the dashboard and API. The one-click deploy button and the fact that DNS setup happens automatically when you add a domain lower the barrier to entry significantly. Developers appreciate that API keys let them send mail programmatically, and webhooks can push events to external systems. The routing rules UI gives you control over how inbound mail gets routed to mailboxes.

Who should use this?

Indie developers and small teams who want branded email addresses without monthly fees. If you need transactional mail from a custom domain and prefer not to use SendGrid or Mailgun, this fills that gap. SaaS products that need per-customer email isolation will find the multi-mailbox setup useful. Agencies managing multiple client domains can use the admin panel to provision mailboxes quickly. This is not for teams needing advanced spam filtering, team collaboration, or calendar integration.

Verdict

Mailflare solves a real problem at a compelling price point, but the 15 stars signal early-stage software with limited community testing. The documentation is solid for a solo project, and the Cloudflare-native architecture is well thought out, but you should expect to dig into the code when things break. The credibility score of 0.85% reflects that maturity gap. Worth trying for personal projects or low-stakes production use, but pair it with good monitoring until the project gains more battle-testing.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.