Golub vs SnappyMail
SnappyMail is a fast PHP webmail that grew out of RainLoop. Golub covers the everyday features with no PHP at all. Here is an honest comparison.
Choose Golub if
- You want little to run. One 7 MB container, no PHP, no web server, no database to back up or upgrade.
- You host many mailboxes. One IMAP connection per user and a fraction of the memory per server.
- Your users want a modern mailbox that works the same on a phone and a desktop, with dark mode and OpenPGP built in.
- You log users in from a panel. Single sign-on and branding are built in, set with a few environment variables.
Choose SnappyMail if
- You want an admin panel in the browser. SnappyMail is set up from a web admin page; Golub is set with environment variables.
- You rely on its extensions or one of the many languages SnappyMail is translated into.
- You already run it and it does what your users need.
Measured side by side
Golub 0.3.0 and SnappyMail 3.1.4 reading the same mailbox on the same server, each from its official image. Bars are drawn to scale.
| Image download | 7.1 MB | 95.5 MB |
|---|---|---|
| Image unpacked | 17.7 MB | 252 MB |
| Memory at idle | 4.6 MB | 72 MB |
| Peak memory, 10 users | 17 MB | 95 MB |
| Message list, 10 users | 502 req/s, 19 ms | 44 req/s, 223 ms |
| Message list, 50,000 messages | 70 req/s, 138 ms | 26 req/s, 382 ms |
| IMAP connections, 2,000 requests | 10 | 2,000 |
| Sign in to inbox shown | 0.86 s | 0.86 s |
| Open the 50,000-message folder | 0.22 s | 0.31 s |
| Open a message | 0.32 s | 0.83 s |
SnappyMail ran from its official image with a domain file pointing at the mail server. Method and scripts. SnappyMail is a trademark of its owners; this page is not affiliated with the SnappyMail project.
Features
What each client offers out of the box.
| Folders, search, threads | Yes | Yes |
|---|---|---|
| Rich text and plain text, drafts | Yes | Yes |
| Identities and signatures | Yes | Yes |
| Contacts and vCard | Yes | Yes, with CardDAV sync |
| OpenPGP encryption | Built in, in the browser | Built in |
| Admin panel in the browser | No, environment variables | Yes |
| Extensions | No | Yes |
| Single sign-on from a control panel | Built in | Extensions |
| Your own name, logo and colour | Three settings | Themes and admin panel |
| Phone layout and dark mode | Yes | Yes |
| Languages | 4 | Many more |
| License | GPL-3.0 | AGPL-3.0 |
How they are built
Both are web clients for an existing IMAP and SMTP server. The difference is everything around them.
| Written in | ||
|---|---|---|
| Runs as | ||
| Database | None | Optional, for contacts: |
| Settings | In the user's own mailbox | In files on the server |
| IMAP connections | One per user, kept open | A new one per request |
| Updating | Replace the container | Replace the files |
Switching from SnappyMail
Mail stays on your IMAP server, so nothing moves. You can run Golub next to SnappyMail while your users try it.
- Start Golub with the same IMAP and SMTP server SnappyMail uses. Installation
- Let users sign in with the same address and password. Folders and mail are there as they were.
- Bring contacts over. Export them from SnappyMail as vCard and import the file in Golub's address book.
- Set up identities and signatures again in Golub's settings; they are saved in the mailbox from then on.
- Point your panel's webmail link at Golub, or use single sign-on.
Questions
Is Golub a drop-in replacement for SnappyMail?
For reading and writing mail, yes: it talks to the same IMAP and SMTP server and users sign in the same way. SnappyMail plugins and its admin panel settings do not carry over.
Can Golub and SnappyMail run on the same server?
Yes. Both are only clients of your mail server, so they can run side by side on different addresses or ports while you compare them.
Will users lose mail or folders when switching?
No. Mail and folders live on the IMAP server and both clients show the same mailbox. Only SnappyMail's own settings and contacts stay on its server; contacts can be exported as vCard.
Why is Golub so much smaller and faster?
It is one Go binary with no PHP runtime, web server or database, and it keeps each user's IMAP connection open instead of logging in again on every request.
SnappyMail


