Golub

About Golub

Golub is a free, open-source webmail client written in Go. It puts a modern mailbox on top of the mail server you already run.

How it works

Golub is a web client, not a mail server. It sits between the browser and your existing IMAP and SMTP server, and keeps no data of its own.

  • Each signed-in user gets one IMAP connection, kept open and reused, instead of a new login on every click.
  • The session is an encrypted cookie. Restart or replace the container whenever you like; there is nothing to migrate.
  • Settings, contacts, signatures and PGP keys are saved in hidden folders of the user's own mailbox, so they move with the account.

Features

Mail

  • Three-pane layout with resizable columns and a mobile layout
  • Folders with unread counts, sizes and quota; create, rename, delete, empty and subscribe
  • Server-side sorting and paging, fast on folders with tens of thousands of messages
  • Threaded view as an option
  • Search in subject and addresses or the full text, in one folder or all, with filters
  • Live updates through IMAP IDLE
  • Drag and drop, multi-select, swipe on touch screens, undo for moves and deletes
  • Keyboard shortcuts

Reading

  • Plain text and sanitized HTML, inline images
  • Attachment download and preview for images, PDF and text
  • HTML mail shown dark in the dark theme, switchable per message
  • Legacy charsets, broken MIME and Unicode addresses handled
  • Unsubscribe button, read receipt prompts, priority markers
  • Raw message and all headers

Contacts and folders

  • Address book with groups and collected recipients
  • vCard import and export
  • Import .eml and .mbox, export any folder as .mbox

Writing

  • Rich text or plain text
  • Several identities, each with its own signature
  • Canned responses
  • Reply, reply all, forward inline or as an attachment
  • Drafts with autosave
  • Address autocomplete from contacts, groups and past recipients
  • Priority, read receipt requests and browser spell check
  • Unicode domains (IDNA) and mailboxes (SMTPUTF8)

Encryption

  • OpenPGP encryption and signatures, compatible with Thunderbird, Mailvelope and other PGP/MIME clients
  • Create or import keys, export them, import other people's keys from a file, a paste or an attachment
  • Decrypt in the browser after unlocking with the passphrase; keys lock again after 15 minutes
  • Signed mail shows who signed it and whether the signature checks out

Privacy and security

  • Nothing stored on the server. No database and no files written at runtime.
  • No tracking, no analytics, no third-party requests. There is no telemetry.
  • Remote images blocked by default. When allowed, they load through Golub's proxy, so senders never see the reader's IP address. The proxy refuses private and internal addresses.
  • Tracking pixels removed, even when remote images are allowed.
  • HTML sanitized on the server and shown in a sandboxed frame with no scripts and a strict Content Security Policy.
  • One-click unsubscribe sent from the server, not from the reader's browser.
  • End-to-end encryption. Private keys are stored only passphrase protected.
  • Read receipts never sent silently, and no User-Agent or X-Mailer in outgoing mail.
  • Signed images. Every release is signed with cosign and ships with an SBOM and build provenance.

For hosting providers

OpenPanel, the hosting control panel, ships Golub as its default webmail client.

  • Single sign-on from a control panel with a signed, single-use token and a Dovecot master user.
  • Your own name, logo and accent colour through three environment variables.
  • Far fewer IMAP connections and far less memory than PHP webmail, which matters with many users on one server.
  • Accounts can move between servers with their settings and contacts, because those live in the mailbox.

Languages

Golub speaks English, Arabic, Serbian (Latin) and Swedish. Arabic switches the whole interface to right to left, and message text picks its own direction in every language. Help translate.

LanguageCodeTranslated
Englishen 100%
العربية Arabicar 100%
Srpski Serbian (Latin)sr-Latn 100%
Svenska Swedishsv 100%

Requirements

  • An IMAP server and an SMTP submission server. Golub is built and tested against Dovecot and Postfix, including docker-mailserver.
  • Docker or any container runtime, on linux/amd64 or linux/arm64.
  • A reverse proxy for HTTPS, or Golub's own TLS with a certificate and key.
  • Single sign-on additionally needs a Dovecot master user.
  • Users need a current Chrome, Firefox, Safari or Edge. No app to install.

License

Golub is free software under the GNU General Public License, version 3 or later, the same license as Roundcube. There is no paid edition and no feature held back.

The name

Golub is Serbian for pigeon, as in the carrier pigeon that delivered messages long before email.

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