quietbox

A calmer inbox, on a server you own.

Self-hosted inbox triage for any IMAP mailbox. quietbox moves newsletters, receipts and notifications out of your inbox, and learns from how you file mail yourself.

How it works

You give quietbox a few folders, each with a type: important (your INBOX), later, newsletter, bulk, and optionally blackhole.

  1. quietbox init reads your folders and Sent mail and learns where each sender belongs.
  2. quietbox once (from cron) or quietbox run (a daemon) files new mail as it arrives, using what it learned and detectors for newsletters and automated mail.
  3. Move a message into a folder, or back to INBOX, and that sender follows. One move is enough.
  4. Mail you block waits in the blackhole folder, then goes to Trash after 30 days. quietbox never deletes anything.
# see what it would do first
quietbox init --dry-run
quietbox once --dry-run

# and take it back if you change your mind
quietbox undo --since 1h

Quiet, and careful

Install

One static binary for Linux and macOS, on amd64 and arm64. The script checks the download against the published checksums before it installs anything, and puts quietbox in ~/.local/bin.

curl -fsSL https://quietbox.sh/install.sh | sh

Prefer to read it first? install.sh is short. You can also take an archive from the releases page, or run go install github.com/michele/quietbox/cmd/quietbox@latest. The macOS binaries are not signed, so Gatekeeper refuses the first run: xattr -d com.apple.quarantine quietbox. To keep it running, use the systemd units or the container image.

Status

Version 0.1, and brand new, so it has not been thoroughly tested. It has been tried on Fastmail and Gmail only. It should work with any IMAP server that supports MOVE and UIDPLUS, but other providers are unverified.

Use it at your own risk. quietbox moves mail and never deletes it, and undo reverses its moves, but it is released under the MIT licence with no warranty. Start with the dry runs, and keep a backup of any mailbox you cannot afford to lose mail from.

What is and is not verified is listed milestone by milestone in the plan.