Open Source · MIT License
♥ Sponsor

Email API and inbox
for your Cloudflare stack.

Two open-source products in one repo — a REST email sending API with React Email templates, and a full team inbox built on Cloudflare Email Routing. Both deploy natively as Cloudflare Workers — with Docker self-hosting available as a fallback.

Two products, one repo

Pick what you need.
Or run both.

EmailFlare ships two independent products that share the same Cloudflare infrastructure. Use one, the other, or both together.

Email API

Transactional email
on Cloudflare.

A REST email sending API with scoped keys, React Email templates, domain management, send history, and a full admin UI — deployed as a Cloudflare Worker on D1 + KV.

  • POST /v1/send — one endpoint, any language
  • 50 React Email layouts · 5 built-in themes
  • Scoped API keys, rate limiting, idempotency
  • Full send log with per-message CF delivery IDs
Deploy viaWorkers·Docker
Learn more →
Inbox

Team email inbox
on Cloudflare Routing.

A multi-user inbox powered by Cloudflare Email Routing. Receive, reply, assign threads, and build auto-reply sequences — without managing a mail server.

  • Receive email via Cloudflare Email Routing
  • Shared team inbox · thread assignment
  • Auto-reply sequences with delivery tracking
  • Workers + Node.js deploy — zero mail server
Deploy viaWorkers·Node.js
Learn more →
React Email Layouts

50 email layouts.
Ready on day one.

EmailFlare ships with 50 production-ready React Email layouts — from Welcome and Magic Link to Invoice, Incident Update, and more. Switch between 5 built-in themes per send.

WelcomeMagic LinkOTP CodeEmail VerifyPassword ResetOrder ConfirmationInvoiceSubscription StartedTrial EndingPayment FailedTeam InviteAlertBilling ReceiptIncident UpdateSupport Ticket ReplyNew Login AlertAccount LockedAnnouncementDigestFeedback Request
See all 50 layouts →
Deploy

Deploy in minutes.

Cloudflare Workers is the primary path — zero-ops, edge-native. Docker self-hosting is available for teams that want to run their own servers.

Architecture

Minimal by design.

EmailFlare is intentionally simple to operate. No orchestration overhead, no extra services, no surprise dependencies.

Your application / HTTP client
Cloudflare Workers
Hono API + React Admin
↓        ↓
D1
SQLite at the edge
KV / R2 / Queues / DO
inbox-only
Cloudflare
Email Sending API
Cloudflare
Email Routing
  • Everything on CloudflareWorkers, D1, KV, R2, Queues, and Durable Objects run entirely on Cloudflare's edge. No servers to provision, no volumes to back up, no external database.
  • One command to deployjust emailflare-api-worker-setup creates D1 + KV, applies migrations, sets secrets, builds the admin UI, and deploys the Worker — automatically.
  • Cloudflare Email Sending for productionProduction API keys send exclusively through Cloudflare's infrastructure. Test API keys capture email into the built-in Test Mailbox for safe testing without CF credentials.
  • Inbound via Email RoutingThe inbox Worker receives email natively through Cloudflare Email Routing — no bridge, no mail server, no MX records to manage.
  • Docker as a fallbackPrefer your own servers? Both products also ship a single Docker image with embedded SQLite (mesahub-core) for self-hosting on any VPS.
Open Source

Built in public. MIT licensed.

EmailFlare is fully open source. Read the code, contribute, file issues, or fork it for your own needs — no strings attached.

Built withHono·React 19·React Email·Vite·TanStack Router·Caddy·Cloudflare Email Sending