
Zero
Self-hosted AI email client with unified inbox
Zero is an open-source email web app you can self-host while connecting Gmail and other providers. It emphasizes privacy, AI agents, and a customizable interface.
Gmail by Google is a commercial product. These open-source projects say they can replace it.
The most popular open-source alternative to Gmail is mailcow: dockerized, with 13.9k GitHub stars. Other open-source alternatives to Gmail are Zero and Tuta. Most Gmail alternatives here are Email & Communication tools. The first 2 say in their own README or website that they can replace Gmail (the quote is shown under each one); the other 1 do the same job, shown with their own description.
Stars and activity updated 27 November 2026.

Self-hosted AI email client with unified inbox
Zero is an open-source email web app you can self-host while connecting Gmail and other providers. It emphasizes privacy, AI agents, and a customizable interface.
“An Open-Source Gmail Alternative for the Future of Email”

Secure email, calendar, and contacts with built-in encryption
Tuta Mail is a privacy-oriented email service with end-to-end encryption across web and native clients. It includes encrypted calendar and contacts alongside customizable domain addresses.
“With its all-round end-to-end encryption and its clear focus on open source, Tuta is the best Outlook or Gmail alternative that excels in convenience, security, and privacy.”
These projects don't call themselves a Gmail alternative, but two independent checks of their own description found they do the same main job.

Dockerized mail server and groupware suite
mailcow: dockerized bundles mail, filtering, and web groupware components into a deployable stack, with official docs for installation and community support channels.
“The mailserver suite”
Yes. 3 open-source projects can replace Gmail, for example mailcow: dockerized, Zero and Tuta. 2 of them say so in their own documentation; the other 1 do the same job.
mailcow: dockerized (13.9k GitHub stars) is the most popular open-source alternative to Gmail on GitHub. Tuta has the most recent code changes. To run it on your own server, look at Zero (self-hostable). The best choice depends on your needs: compare them side by side, for example mailcow: dockerized vs Zero.
All of the 3 projects listed here are free to use under an open-source license, with no license fee: 1 permissive (such as MIT), 2 copyleft (such as GPL-3.0). Running software on your own server still costs hosting and upkeep, and many projects also sell a hosted version.