Golub

Fast, private webmail for your own mail server.

Golub is an open-source webmail client that runs next to Dovecot, Postfix or any IMAP and SMTP server. One small container, no PHP, no database, and nothing that tracks your users.

Golub 0.3.2, 29 November 2026 Free software, GPL-3.0 Docker image
The mailbox in the dark theme
7.1 MBcontainer image
4.6 MBmemory at idle
1IMAP connection per user
320 msto open a message

Everything your users expect from their mailbox.

Threads, search, encryption and contacts in the browser. Settings, contacts and signatures are saved in the user's own mailbox, so the server keeps nothing.

Fast on any folder

Sorting and paging run on the mail server, so a folder of 50,000 messages opens in a fraction of a second.

Search that finds it

Subjects, addresses or the full text, in one folder or all of them, narrowed by date, flags and attachments.

Threads

Replies grouped under the first message, opened with one click, or a plain list for those who prefer it.

Private by default

Remote images wait for permission and load through a proxy, so senders never see the reader's IP address.

OpenPGP built in

Encrypt, sign and decrypt in the browser. Works with Thunderbird, Mailvelope and other PGP/MIME clients.

Contacts and groups

Addresses suggested from contacts, groups and people you wrote to. vCard import and export.

Attachments in place

Preview images, PDF and text without leaving the message, or download anything with one click.

Undo every move

Moves and deletes can be taken back. Drag and drop, multi-select and keyboard shortcuts for the busy inbox.

Made for phones

A real mobile layout with swipe gestures and a folder drawer. No app to install.

Light and dark

Follows the system or a choice of its own. HTML mail turns dark too, with pictures kept as they are.

Single sign-on

Control panels log users straight into their mailbox with a signed, single-use token.

Your brand

Your own name, logo and accent colour from three environment variables. Text colour on buttons is picked for contrast.

And what it does differently.

Choices that make Golub easier to run, move and trust than a typical webmail.

A tenth of the memory Roundcube needs.

4.6 MB at idle, where Roundcube needs 47 MB and Afterlogic 478 MB with its database.

Memory at idle smaller is better
  • Golub4.6 MB
  • Roundcube47 MB
  • SnappyMail72 MB
  • Afterlogic Lite478 MB
Inbox loads per second, 10 users at once bigger is better
  • Golub502 req/s
  • Roundcube49 req/s
  • SnappyMail44 req/s
  • Afterlogic Lite15 req/s
Size on disk, unpacked smaller is better
  • Golub17.7 MB
  • Roundcube795 MB
  • SnappyMail252 MB
  • Afterlogic Lite1.3 GB
IMAP connections for 2,000 requests smaller is better
  • Golub10
  • Roundcube2,000
  • SnappyMail2,000
  • Afterlogic Lite2,000

Same mailbox, same server, official images, November 2026. Afterlogic includes the MySQL it needs. Method.

Questions

More in the documentation, or ask on GitHub.

What is Golub?

A self-hosted webmail client: a web app that lets people use their email account in the browser. It connects to an existing IMAP and SMTP mail server; it is not a mail server itself.

Is Golub a Roundcube alternative?

Yes. Golub covers the everyday Roundcube features, such as folders, search, threads, compose, contacts, identities, signatures and PGP, in a single Go binary instead of a PHP application with a database. Roundcube has a large plugin ecosystem for features beyond everyday mail.

Which mail servers does Golub work with?

Any server that speaks IMAP and SMTP submission. It is built and tested against Dovecot and Postfix, including docker-mailserver. Single sign-on needs a Dovecot master user.

Does Golub need a database?

No. Sessions live in an encrypted cookie, and settings, contacts and signatures are stored in the user's own mailbox in hidden IMAP folders. Restart it whenever you like.

Does it work on phones?

Yes. The interface adapts to small screens and supports swipe gestures. There is no separate app to install.

Is Golub free?

Yes. It is open source under GPL-3.0-or-later, with no paid edition and no telemetry.

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