Skip to content
CauldronDevelopmentLLCPublic

About

Webmail for Ghosts.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

BooMail

BooMail is webmail for a small mail server that you run yourself. It talks to Dovecot and Postfix directly, keeps no database, and installs as one Node service behind Apache. It started as a replacement for SquirrelMail, and it can import SquirrelMail settings, signatures and filters.

It is built for a handful of people on one server who want their mail to stay on that server. If you run Postfix and Dovecot for your family or a small office and still use SquirrelMail, BooMail is meant for you.

What it does

Reading and writing

  • A message list with sorting, threads, paging and a quick filter as you type. Search one folder or all of them, by sender, recipient, subject or body.
  • A History page that shows all mail with one person or domain, sent and received, newest first.
  • HTML mail is cleaned and shown in a sandboxed frame. Remote images stay blocked until you ask for them.
  • Compose with several From addresses per user, including wildcards such as *@you.example.com. A reply comes from the address the original was sent to. Each address has its own signature.
  • Drafts save every 30 seconds. Attach many files at once.

Organizing

  • Folders: create, rename, move, delete, subscribe, and see their sizes.
  • Filters that run on the server. The rule editor writes a Sieve script over ManageSieve, so filtering happens at delivery and also works for your phone and desktop clients.
  • New mail shows up live (IMAP IDLE), with unread counts in the folder pane and the tab title, and optional browser notifications.

Everything else

  • Works on phones. The toolbars fold down to the buttons you need, and the rest is one tap away.
  • Themes: Light, Dark, System, and the classic SquirrelMail themes. You can convert your own SquirrelMail themes.
  • Six languages: English, German, Italian, Georgian, Finnish and Simplified Chinese.
  • Users can change their own password. BooMail edits the Dovecot passdb directly.
  • An optional AI assistant (below).

The AI assistant

Each user can turn on an assistant that reads and searches their mail on request. It can summarize threads, find messages, draft replies, and suggest which folders messages belong in. Users bring their own OpenRouter key and pick the model.

The assistant only proposes. It never sends, moves or deletes mail by itself; you review a draft or a set of moves and accept it. Mail is treated as untrusted data, so a message cannot give the assistant instructions. It never loads remote content from a message. Keys are encrypted at rest. With the assistant off, nothing about it shows.

How it works

  • Server: Nuxt 4 on Node 20. It speaks IMAP to Dovecot, SMTP submission to Postfix and ManageSieve for filters, with its own small protocol clients. Your IMAP login is the BooMail login.
  • Storage: none of its own beyond a small JSON prefs file per user. Mail stays in Dovecot.
  • Client: Vue 3. Plain JavaScript, Options API, Pug templates and Stylus. No TypeScript and no CSS framework.
  • Layers: each feature is a Nuxt layer in layers/ (mail, compose, search, filters, folders, notify, options, password, themes, ai) on top of core and a widget kit. Layers talk only through contracts in shared/. The build is tested with each feature layer removed, so you can leave out what you don't want.
  • Small dependency list: Nuxt, Vue, lucide icons, postal-mime for parsing mail, and pdf.js for reading PDF attachments in the assistant.

Try it

You need Node 20.19.

npm install
node scripts/e2e-server.js start

Then open http://127.0.0.1:3100/boomail/ and sign in as jo@example.com with the password boo. This runs on a built-in fake mail server with sample mail, so it needs no Dovecot or Postfix. Stop it with node scripts/e2e-server.js stop.

The other sample users are ann@example.com (password ann) and test@example.com (password test).

Tests

npm run ci        # dependency, style and lint checks, then every unit test
npm run e2e:setup # once: download Chromium for Playwright
npm run e2e       # browser tests against the fake mail server

Every test runs on the fake backends. Nothing contacts a real mail server.

Running it for real

BooMail expects Debian with Postfix, Dovecot (with Pigeonhole for Sieve), Apache as the front end, and optionally rspamd. npm run release builds a release tarball from the current commit, and deploy/deploy.sh <server> installs it.

deploy/RUNBOOK.md walks through every step: installing the service, the Postfix and Dovecot changes, running BooMail next to SquirrelMail while you try it, importing SquirrelMail users, and switching over one site at a time. Each step has a check script and a one-line undo.

Status

BooMail is young. It runs on one production server with a few users. Expect rough edges if your setup differs from the one in the runbook, and please open an issue when you hit one.

License

BooMail is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See LICENSE.

About

Webmail for Ghosts.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages