A self-hosted mail server packaged as a set of Docker images, covering SMTP, IMAP, POP3 and webmail.
nextcloud/mail
A mail client app for Nextcloud that connects to any IMAP account from within your Nextcloud instance.
Open-source alternative to:Gmail
Microsoft Outlook
- Stars
- 1,060
- Forks
- 380
- Open issues
- 1,000
- Last commit
- 13 hours ago
What is it?
Nextcloud Mail is a webmail client that runs as an app inside a Nextcloud server. It lets users read, write and organize email from any IMAP account, and combines several accounts into one unified inbox.
The app integrates with other Nextcloud apps such as Contacts, Calendar, Files and Tasks. It supports message threads, mailbox management such as creating, editing and deleting folders, and encrypted mail through Mailvelope or built-in S/MIME signing and encryption. It is built on the Horde libraries and is delivered as a single-page application.
The app works alongside existing mail servers, including Mail-in-a-Box, Stalwart and Dovecot, so it can be used with a self-hosted mail stack as well as third-party providers.
Key features
- 01Connects to any IMAP account and merges several accounts into one inbox.
- 02Integrates with Nextcloud Contacts, Calendar, Files and Tasks.
- 03Supports message threading and mailbox management.
- 04Supports encrypted and signed mail via Mailvelope or S/MIME.
- 05Built on the Horde libraries.
Use cases
- Running a self-hosted webmail client alongside a private Nextcloud server.
- Reading mail from several work and personal accounts in one place.
- Sending encrypted email from a browser without a desktop client.
In collections
Topics
FAQ
- What is mail?
- A mail client app for Nextcloud that connects to any IMAP account from within your Nextcloud instance. Nextcloud Mail is a webmail client that runs as an app inside a Nextcloud server. It lets users read, write and organize email from any IMAP account, and combines several accounts into one unified inbox.
- Is mail free to use? What license does it have?
- mail is open source under the AGPL-3.0 license. Check the license terms before using it in commercial products.
- Is mail still maintained?
- Actively maintained. The last commit to mail was on Nov 6, 2026.
- What can I use mail for?
- Running a self-hosted webmail client alongside a private Nextcloud server. Reading mail from several work and personal accounts in one place. Sending encrypted email from a browser without a desktop client.
- Where can I get mail?
- The source code and installation instructions are on GitHub: https://github.com/nextcloud/mail
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Self-hosted mail server for your own domain, with SMTP/IMAP/POP3, CardDAV/CalDAV, a React webmail and admin console, deployed via Docker Compose.
Dockerized, self-hosted mail server suite bundling Postfix, Dovecot, SOGo, Rspamd and ClamAV behind a web admin UI.
A one-click installer that turns a fresh Ubuntu 22.04 machine into a complete self-hosted mail server with webmail, DNS, and backups.
A full-featured, secure mail server in Go for self-hosting your own domain's email with low maintenance.
A browser-based multilingual IMAP webmail client with an application-like interface, written in PHP and extendable through plugins and skins.