Yes, there's a free open-source alternative to Google Workspace: Mailflare, a self-hosted app for email on your own domain, calendar, booking pages and Drive. Google charges $7 to $14 per user a month on an annual plan. Mailflare's self-hosted edition costs nothing in licences, and you can receive and send mail on free tiers.

Our video: Someone basically open-sourced Google Workspace (8k stars) (Dec 1, 2026)

What is Mailflare?

Mailflare is an open-source project by Hieu Nguyen (Jack). It went public at the end of May 2026 as a Show HN post titled 'I Cloned Gmail'. Most commits are his, but outside contributors keep sending fixes. It's licensed under AGPL-3.0.

It copies the parts of Google Workspace small teams use most: mail on your own domain, a calendar, a public booking page, file storage, and an AI assistant you can reach over MCP. It's a Next.js app in TypeScript. It runs as a Cloudflare Worker (D1 for the database, R2 for files, queues for mail), as one Docker container with SQLite, or on Vercel.

It's not the whole suite. There's nothing like Docs, Sheets or Meet. On price, Google bills every person every month, so a team of five on Business Standard pays $840 a year. Mailflare's free edition costs nothing in licences, but it only covers one account. Team accounts need a $249 one-time licence.

What Google Workspace costs

Business Starter: $7 per user a month on an annual plan ($84 a year per user), or $8.40 per user a month on the flexible plan, as shown on Google Workspace's pricing page in our December 2026 video. Booking pages start at Business Standard, which costs $14 per user a month on an annual plan ($168 a year). Business Plus is $22. The official page showed euros from our location, so these USD prices come from our video.

Source: Google Workspace pricing page, checked December 2026 (our video). Prices change, so check before you buy.

What Mailflare does

  • Personal or shared mailboxes on your domain, sending and receiving through Cloudflare Email, Resend or Amazon SES.
  • Routing rules that store, forward, reject or sort incoming mail, including one rule that moves every newsletter into its own folder.
  • A calendar with repeating events across time zones. Attendees get email invitations.
  • A public booking link where anyone picks a free slot on your calendar, which covers what you'd use Calendly for.
  • Drive for storing and sharing files, on Cloudflare R2, Backblaze B2 or AWS S3.
  • An AI assistant that searches mail, drafts replies and manages events. Other AI tools can connect over MCP, and every draft waits for a person to approve it.
  • Imports mail from IMAP, Gmail Takeout, .eml and .mbox files, plus calendar events, contacts and Drive files from Google Takeout.

How to get started with Mailflare

You need a domain, a server with Docker, and a mail provider for sending (Resend's free tier gives you 3,000 emails a month). If you'd rather skip the server, the README's Deploy to Cloudflare button puts it on your Cloudflare account with a scoped API token.

  1. Clone the repo and go into it.

    git clone https://github.com/hieunc229/mailflare && cd mailflare
  2. Copy the example environment file.

    cp .env.docker.example .env.docker
  3. Edit .env.docker to set how mail is received and sent.

  4. Build and start the container. To skip the build, use the prebuilt image with docker compose -f docker-compose.image.yml up -d.

    docker compose up -d --build
  5. On the Cloudflare route instead: click Deploy to Cloudflare, keep the app name exactly mailflare, add your CF_TOKEN, then open /setup to create the admin account and add your domain. Mailflare shows your old MX records before it replaces them. Once you confirm, your old provider stops getting your mail.

Full instructions: Mailflare docs, hieunc229/mailflare on GitHub

Self-host it on Hostinger VPS Affiliate link: we may earn a commission if you buy, at no extra cost to you.

The catch

  • The free self-hosted Community edition covers one account. Extra team accounts and shared mailboxes need the Team licence, $249 once.
  • Mail apps connect over JMAP only, with no IMAP, so Apple Mail and Outlook can't connect. There's also no antivirus, so a bad PDF gets through.
  • It covers mail, calendar, booking and files. There's nothing like Docs, Sheets or Meet.
  • You run the mail server. It's pre-1.0 (v0.5.7 shipped the day after v0.5.6) and most commits come from one developer. Mailflare's own site says to pick a hosted service if nobody on your team will look after a server.

Should you switch from Google Workspace?

Switch if: Solo founders paying for one Workspace seat can move that seat to Mailflare for free and get a booking page too. Small teams that mostly need email and scheduling can save money with the $249 Team licence, which costs less than four months of Business Standard for five people. Agencies should test it on a spare domain for 30 days before moving the address clients write to.

Stay if: Stay on Google Workspace if your team writes in shared documents and meets on video all day. Stay too if nobody wants to be on call when mail stops.

FAQ

Is there a free open-source alternative to Google Workspace?

Yes. Mailflare is an AGPL-3.0 project that gives you email on your own domain, a calendar, booking pages, Drive and an AI assistant. You host it on Cloudflare Workers, in one Docker container or on Vercel. The self-hosted Community edition is free but covers one account. Receiving mail through Cloudflare Email Routing is free, and Resend's free tier sends 3,000 emails a month. It doesn't replace Docs or Meet.

How much does Google Workspace cost for a small team?

In our December 2026 video, Google's USD prices were $7 per user a month for Business Starter on an annual plan, or $8.40 month to month. Business Standard, which you need for booking pages, was $14 per user a month on an annual plan. Business Plus was $22. That means a team of five on Standard pays $840 a year, and the bill goes up with every hire.

How much does Mailflare cost for a team?

Self-hosting the Community edition is free, but it covers one account. Team accounts and shared mailboxes need the Team licence, a one-time payment of $249. If you'd rather not run anything, Mailflare Cloud charges $16 a month for five users. You'll still pay for any sending beyond the free tiers, for example Cloudflare Email Sending needs the $5/month Paid Workers plan.

Can I use Apple Mail or Outlook with Mailflare?

Not yet. Mailflare connects to mail apps over JMAP only, and Apple Mail and Outlook don't speak JMAP. There's no IMAP access for mail apps right now. You can use Mailflare's own web app, which has your inbox, calendar, booking page and Drive. If your team depends on a desktop mail client, check this before you switch.

Can I move my Gmail and Google Calendar to Mailflare?

Yes. Mailflare imports mail from IMAP, Gmail Takeout, .eml and .mbox files. It also imports calendar events, contacts and Drive files from Google Takeout. When you add your domain, it shows your old MX records before replacing them. Once you confirm, your old provider stops receiving your mail, so test it on a spare domain first.

In the newsletter

Related open-source alternatives

Sources

Written Dec 2, 2026 from our video, the Mailflare repo and Google Workspace's pricing page. All open-source alternatives