A browser-based multilingual IMAP webmail client with an application-like interface, written in PHP and extendable through plugins and skins.
the-djmaze/snappymail
A simple, lightweight, web-based email client written in PHP that needs no database.
Open-source alternative to:Gmail
Microsoft Outlook
- Stars
- 1,742
- Forks
- 241
- Open issues
- 152
- Last commit
- 24 hours ago
What is it?
SnappyMail is a web-based email client that runs on a PHP server and is accessed through a browser. It is a fork of the RainLoop Webmail community edition, rewritten to use current browser APIs, a smaller JavaScript footprint, and up-to-date PHP requirements.
The project emphasizes privacy and security: it removes social network and third-party tracking integrations, hashes admin passwords with password_hash, logs failed authentication attempts to syslog, and adds dark mode. It stores its data without a database and supports installation and upgrades without complex setup.
The fork also adds an advanced Sieve filter script editor, Kolab groupware support, many additional IMAP extensions, and PGP support using OpenPGP.js, GnuPG and Mailvelope. Plugins can be loaded as .phar files.
Key features
- 01Web-based email client with no database required
- 02Advanced Sieve filter script editor
- 03PGP encryption support via OpenPGP.js, GnuPG and Mailvelope
- 04Dark mode and mobile-friendly themes
- 05Failed login attempts logged to syslog, with Fail2ban instructions
- 06Kolab groupware and many IMAP extensions supported
Use cases
- Self-hosting a personal or small-team webmail interface
- Running a lightweight webmail frontend on modest servers
- Managing mail filters with a visual Sieve editor
- Using webmail with a Kolab groupware deployment
Quick start
- 1
Follow the installation instructions on the project wiki
Things to know
- Requires PHP 7.4 or newer with the mbstring extension.
- Licensed under AGPL-3.0, a strong copyleft license that applies to modified network-served versions.
In collections
Topics
FAQ
- What is snappymail?
- A simple, lightweight, web-based email client written in PHP that needs no database. SnappyMail is a web-based email client that runs on a PHP server and is accessed through a browser. It is a fork of the RainLoop Webmail community edition, rewritten to use current browser APIs, a smaller JavaScript footprint, and up-to-date PHP requirements.
- Is snappymail free to use? What license does it have?
- snappymail is open source under the AGPL-3.0 license. Check the license terms before using it in commercial products.
- Is snappymail still maintained?
- Actively maintained. The last commit to snappymail was on Nov 6, 2026.
- What can I use snappymail for?
- Self-hosting a personal or small-team webmail interface Running a lightweight webmail frontend on modest servers Managing mail filters with a visual Sieve editor Using webmail with a Kolab groupware deployment
- How do I install snappymail?
- Follow the installation instructions on the project wiki
- Where can I get snappymail?
- The source code and installation instructions are on GitHub: https://github.com/the-djmaze/snappymail
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A lightweight, self-hostable webmail client that combines multiple email accounts into one view over IMAP, SMTP, JMAP and EWS.
A command-line email client written in Rust for managing mail over IMAP, SMTP, JMAP, Gmail and Microsoft Graph.
A self-hosted mail server packaged as a set of Docker images, covering SMTP, IMAP, POP3 and webmail.
A mail client app for Nextcloud that connects to any IMAP account from within your Nextcloud instance.
A self-hosted webmail client that merges multiple IMAP/SMTP email accounts into one unified inbox.