Gmail alternatives compared
| Project | Licence | Type | Self-host | Cloud option | GitHub stars |
|---|---|---|---|---|---|
| Proton Mail | GPL-3.0 | Mobile app | — | ✓ Yes | ★ 5.7k |
| Stalwart Mail Server | AGPL-3.0 | Self-hosted | ✓ Yes | — | ★ 16.8k |
| mailcow | GPL-3.0 | Self-hosted | ✓ Yes | — | ★ 13.9k |
| Tuta | GPL-3.0 | Mobile app | — | ✓ Yes | ★ 8.2k |
| Roundcube | GPL-3.0 | Self-hosted | ✓ Yes | — | ★ 7.3k |
The 5 open source alternatives to Gmail
Proton Mail is an end-to-end encrypted email service from Switzerland with more than 100 million accounts. All its apps are open source and independently audited, and it includes a calendar, drive, VPN and password manager in the same account.
Note: Proton's apps are open source, but its server software is not, so it can't be self-hosted.
- End-to-end and zero-access encryption
- Open source, audited apps
- Free plan available
- Calendar, Drive, VPN and Pass included
Stalwart is a modern, secure mail server written in Rust that supports JMAP, IMAP, POP3 and SMTP, plus CalDAV and CardDAV. It includes spam filtering, DKIM, SPF and DMARC out of the box.
Note: The community edition is AGPL-3.0; enterprise features are under a separate licence.
- JMAP, IMAP, POP3 and SMTP
- CalDAV and CardDAV built in
- Built-in spam and phishing filter
- Written in memory-safe Rust
mailcow bundles everything you need to run your own mail server in Docker: Postfix, Dovecot, Rspamd spam filtering, SOGo webmail and calendar, and an admin interface for domains and mailboxes.
- Complete mail stack in Docker
- SOGo webmail, calendar and contacts
- Rspamd spam filtering
- ActiveSync for phones
Tuta (formerly Tutanota) is an encrypted email and calendar service from Hanover, Germany. Its clients are open source, it encrypts subject lines and calendars too, and it uses post-quantum cryptography for new accounts.
Note: Tuta's apps are open source, but its server software is not, so it can't be self-hosted.
- Encrypts subjects, contacts and calendars
- Post-quantum encryption
- Open source clients
- Free plan available
Roundcube is a browser-based email client that connects to any IMAP server. Many hosting providers offer it as their webmail, and it has a large plugin ecosystem. It became part of Nextcloud in 2023.
- Works with any IMAP server
- Drag-and-drop interface
- Plugins for calendars, encryption and filters
- Easy to install on PHP hosting
How to choose an open source alternative to Gmail
Decide whether you want an open source hosted provider or to run your own mail server. Self-hosting email is possible but demands care with spam filtering and deliverability.
If you want your data on your own server, look at Stalwart Mail Server, mailcow and Roundcube. If you'd rather just install an app, Proton Mail and Tutarun directly on your device. Don't want to run a server? Proton Mail and Tutaoffer an official hosted version.
Not sure where to start? Browse all email projects, or see our google alternatives list.
Gmail alternatives: FAQ
What is the best open source alternative to Gmail?
Proton Mail is the most complete open source alternative to Gmail on our list, followed by Stalwart Mail Server and mailcow. The best choice depends on what you need: Decide whether you want an open source hosted provider or to run your own mail server. Self-hosting email is possible but demands care with spam filtering and deliverability.
Is there a free alternative to Gmail?
Yes. Every alternative listed here is open source, so the software itself is free to use. Some, such as Proton Mail and Tuta, also sell an optional hosted version if you don't want to run it yourself.
Can I self-host an alternative to Gmail?
Yes: Stalwart Mail Server, mailcow and Roundcube can all be installed on your own server, so your data stays on infrastructure you control.
Is there an open source Gmail alternative I can install as an app?
Proton Mail (mobile app) and Tuta (mobile app) run directly on your device, with no server needed.
Why switch from Gmail to open source software?
Gmail is proprietary software owned by Google (Alphabet): you can't see the code, and pricing, features and terms can change at any time. Open source alternatives publish their code under licences such as GPL-3.0 and AGPL-3.0, can be audited by anyone, and can't lock you in, because the software can always be forked or self-hosted.