# Open-source alternatives to Gmail

> Gmail: Google's email service with web and mobile apps. The best self-hosted, open-source alternatives are Mailcow, Mailu and Stalwart Mail Server. All of them can run on your own server, so your data stays under your control. All 7 apps here are open source.

## Key facts

| Fact | Value |
|---|---|
| Commercial product | Gmail |
| Category | Email Servers |
| Alternatives listed | 7 |
| Top pick | Mailcow (13,563 stars, GPL-3.0) |
| Canonical URL | https://appsgit.com/alternatives/gmail |

## Alternatives, in recommended order

- [Mailcow](https://appsgit.com/apps/mailcow): Mail server suite based on Dovecot, Postfix and other open source software, that provides a modern Web UI for administration. (13,563 stars, GPL-3.0, JavaScript, Docker)
- [Mailu](https://appsgit.com/apps/mailu): Simple yet full-featured mail server as a set of Docker images. (7,537 stars, MIT, Python, Docker)
- [Stalwart Mail Server](https://appsgit.com/apps/stalwart-mail-server): All-in-one mail server with JMAP, IMAP4, and SMTP support and a wide range of modern features. (14,971 stars, AGPL-3.0, Rust, Docker)
- [docker-mailserver](https://appsgit.com/apps/docker-mailserver): Production-ready fullstack but simple mail server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.) running inside a container. Only configuration files, no SQL database. (18,903 stars, MIT, Shell, Docker)
- [Mail-in-a-Box](https://appsgit.com/apps/mail-in-a-box): Turns any Ubuntu server into a fully functional mail server with one command. (15,435 stars, CC0-1.0, Python)
- [Roundcube](https://appsgit.com/apps/roundcube): Browser-based IMAP client with an application-like user interface. (7,207 stars, GPL-3.0, PHP)
- [SnappyMail](https://appsgit.com/apps/snappymail): Simple, modern, lightweight & fast web-based email client (fork of RainLoop). (1,706 stars, AGPL-3.0, PHP)

More in this category: [Email Servers](https://appsgit.com/categories/email-servers)

---

Canonical page: https://appsgit.com/alternatives/gmail
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
