What is Mailflare?
Mailflare is an AGPL-3.0 web app that gives you mailboxes on your own domain plus a calendar, a public booking page, file storage and contacts, pitched as a self-hosted alternative to Google Workspace. It does not run its own mail transfer agent by default: incoming mail arrives through Cloudflare Email Routing, Resend or Amazon SES, and outgoing mail goes out through Resend, SES or Cloudflare Email Sending. A Docker build can also listen for SMTP itself.
It deploys three ways: a one-click Cloudflare Workers deploy with D1 and R2, one Docker container with SQLite and local files, or Vercel with a hosted database. PostgreSQL, MySQL and Turso work too. Mail can be imported from IMAP, Gmail Takeout, .eml and .mbox files.
The AI part is optional. A built-in assistant searches mail, drafts replies and manages events using Cloudflare Workers AI or any OpenAI-compatible endpoint, and an MCP endpoint lets outside agents read chosen mailboxes. The developer, Hieu Nguyen, also sells a hosted version, Mailflare Cloud.
Is Mailflare worth it?
Mailflare's trick is that you do not have to run a mail server to have your own mail. Cloudflare Email Routing receives for free, Resend's free tier sends 3,000 emails a month, and the app on top gives you an inbox, calendar, booking links and a drive. For a freelancer or a small team paying Google per seat, that is an appealing bill of zero. The project has 8,405 GitHub stars and 59 contributors after six months, with commits landing daily.
The feature list is long for its age: routing rules, shared mailboxes, JMAP access, DMARC and MTA-STS reports, a suppression list for bounces, audit logs, backups and an interface in 34 languages. The AI assistant is sensibly fenced. It reads an email only when it calls its tool, auto-drafts are off until enabled per mailbox, and neither the assistant nor an MCP key can send mail: sending always goes through a review step that a person confirms.
The catch: deliverability and limits belong to whoever relays your mail, so a new SES account starts in a sandbox and Cloudflare's own sending needs the $5 Workers plan. The security notes say plainly that there is no antivirus; risky attachment types are blocked by name and type, and anything else needs ClamAV in front. The Cloudflare deploy needs an API token with DNS and email routing rights across all zones, which is a lot of power to hand an app. The licence is AGPL, and some features, such as white-labelling and unlimited team members, sit behind one-time paid licences.
Our take: for a side business or a family domain, this is far less work than Postfix and Dovecot, and much cheaper than Workspace. For a company that lives on email, a mature server such as Stalwart, or a paid provider, still carries less risk.
Where it earns its place
A four-person design studio paying Google Workspace per seat
Keep hello@ and personal addresses on the studio domain for less
Deploy to Cloudflare Workers, receive through Email Routing and send through Resend's free 3,000 a month; shared mailboxes need the $249 Team licence once, against about $34 a month on Mailflare Cloud's Team plan.
A developer who lives in Claude Code
Let an agent triage and draft replies in one mailbox
Create an MCP key limited to that mailbox; the agent can search and draft, and request_send creates a review the developer approves in Mailflare.
A family with a vanity domain
Move everyone off a shared Gmail account and keep the archive
Import each Gmail Takeout file, create one mailbox per person and use the free Community edition on Cloudflare's free tier.
Before you commit
- Setup
- Click Deploy to Cloudflare, add a CF_TOKEN, open /setup to create the admin, add a domain and a mailbox. Docker is three commands after editing .env.docker.
- Integrations
- Cloudflare Email Routing and Sending, Resend, Amazon SES; D1, PostgreSQL, MySQL, Turso or SQLite; R2, B2 or S3; JMAP clients; MCP over Streamable HTTP; webhooks and an API.
- Data and privacy
- Self-hosted mail stays in your database and storage. The AI assistant sends the parts it reads to the AI provider you configure; a local model can be set with AI_BASE_URL.
- Cost at scale
- Software is free; costs are your relay and hosting. Cloud plans run from $4 to $149 a month at launch prices, with Business covering 50 users.
- Cancelling and refunds
- Cloud plans have a 7-day free trial and can be cancelled at any time, according to the pricing page; refund terms are not published there.
- Limits
- No antivirus. Vercel's Hobby plan is non-commercial. SES starts in a sandbox. 110 issues were open on 2 December 2026.
What’s good
- Runs on Cloudflare's free tier, one Docker container or Vercel
- Mail, calendar, booking, drive and contacts in one app, in 34 languages
- AI assistant and MCP access cannot send mail without a person confirming
- Imports from IMAP, Gmail Takeout, .eml and .mbox
What’s not
- Relies on Cloudflare, Resend or SES for delivery, with their limits
- No antivirus scanning of attachments
- Cloudflare deploy wants a broad API token across all zones
- Young project; some team features need a paid one-time licence
Best for
Freelancers, small teams and families who want email on their own domain without paying per seat or running Postfix.
Mailflare alternatives
Where it fits in the AI stack
Mailflare: common questions
- Is Mailflare worth it?
- A clever way to run your own domain's email on Cloudflare's free tier, as long as you accept that someone else's pipes still carry the mail. We rate it 3.9 out of 5.
- How much does Mailflare cost?
- Self-hosted Community edition free under AGPL-3.0; one-time Pro licence $29 (white-label branding) and Team $249 (unlimited members, shared mailboxes). Mailflare Cloud launch prices: Solo $4/month, Starter $16/month, Team $34/month, Business $149/month, each with a 7-day trial.
- What are the downsides of Mailflare?
- Relies on Cloudflare, Resend or SES for delivery, with their limits; no antivirus scanning of attachments; cloudflare deploy wants a broad API token across all zones; young project; some team features need a paid one-time licence.
- Who is Mailflare best for?
- Freelancers, small teams and families who want email on their own domain without paying per seat or running Postfix.
- How much does Mailflare cost for a team or in production?
- Software is free; costs are your relay and hosting. Cloud plans run from $4 to $149 a month at launch prices, with Business covering 50 users.
- Is Mailflare safe for company data?
- Self-hosted mail stays in your database and storage. The AI assistant sends the parts it reads to the AI provider you configure; a local model can be set with AI_BASE_URL.
- How do I cancel Mailflare, and can I get a refund?
- Cloud plans have a 7-day free trial and can be cancelled at any time, according to the pricing page; refund terms are not published there.
- What are the best Mailflare alternatives?
- The closest alternatives we have reviewed are Stalwart and Mailpit.
Answers checked Dec 2, 2026.