Golub

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.

13×smaller image to download
15×less memory at idle
11×more inbox loads per second
200×fewer IMAP connections

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 smaller is better
  • Golub7.1 MB
  • SnappyMail95.5 MB
Memory at idle smaller is better
  • Golub4.6 MB
  • SnappyMail72 MB
Inbox loads per second, 10 users bigger is better
  • Golub502
  • SnappyMail44
GolubSnappyMail
Image download7.1 MB95.5 MB
Image unpacked17.7 MB252 MB
Memory at idle4.6 MB72 MB
Peak memory, 10 users17 MB95 MB
Message list, 10 users502 req/s, 19 ms44 req/s, 223 ms
Message list, 50,000 messages70 req/s, 138 ms26 req/s, 382 ms
IMAP connections, 2,000 requests102,000
Sign in to inbox shown0.86 s0.86 s
Open the 50,000-message folder0.22 s0.31 s
Open a message0.32 s0.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.

GolubSnappyMail
Folders, search, threadsYesYes
Rich text and plain text, draftsYesYes
Identities and signaturesYesYes
Contacts and vCardYesYes, with CardDAV sync
OpenPGP encryptionBuilt in, in the browserBuilt in
Admin panel in the browserNo, environment variablesYes
ExtensionsNoYes
Single sign-on from a control panelBuilt inExtensions
Your own name, logo and colourThree settingsThemes and admin panel
Phone layout and dark modeYesYes
Languages4Many more
LicenseGPL-3.0AGPL-3.0

How they are built

Both are web clients for an existing IMAP and SMTP server. The difference is everything around them.

GolubSnappyMail
Written inGo SveltePHP JavaScript
Runs asOne binary or containerPHP a web server
DatabaseNoneOptional, for contacts: MySQL PostgreSQL SQLite
SettingsIn the user's own mailboxIn files on the server
IMAP connectionsOne per user, kept openA new one per request
UpdatingReplace the containerReplace 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.

  1. Start Golub with the same IMAP and SMTP server SnappyMail uses. Installation
  2. Let users sign in with the same address and password. Folders and mail are there as they were.
  3. Bring contacts over. Export them from SnappyMail as vCard and import the file in Golub's address book.
  4. Set up identities and signatures again in Golub's settings; they are saved in the mailbox from then on.
  5. 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.

Your mail server deserves a better webmail.

The real interface with made-up mail. Nothing to install, no sign-up.

Golub showing the inbox with an open message