notmutt

Async terminal mail client built on notmuch, with undoable tag operations

Image 1 of 1: Inbox thread list in the terminal with unread markers, dates, senders, tag icons and the key legend

A Go and tcell TUI where tags are the model: every view, filter and trigger is a notmuch query or tag operation. Threads load asynchronously, new mail is diffed in instead of rebuilding the tree, and tag changes stage until applied, with Lua hooks, gpg and S/MIME and a metadata-only MCP server.

  • 1.65 sFull walk, 33k threads
  • 133–148 µsKeypress, steady state
  • 8 msThread fetch

Trade-offs

  • No database of its own: notmuch is the single source of truth, and the one bbolt cache is a revision-keyed view rebuilt from query output only.
  • Tag actions stage in a per-session buffer that doubles as the undo; notmuch sees them only on apply.
  • Mail content never reaches an LLM: the MCP server exposes thread metadata only, and a field inside mail is extracted by script before any value is passed.

Q&A4

A batched walk keeps the query and thread iterators alive in C across chunks, which brought the full walk to parity with the CLI (1.65 s vs 1.53 s) and thread fetch to 8 ms against 19 ms. The CLI backend stays one build tag away.

Reviews

Loading reviews

    More in Email

    See all 7 →
    • Nostr Mail ClientEncrypted email over Nostr, with a bridge to ordinary addresses
    • PostieNative SwiftUI Gmail client for macOS, with no server of its own
    • MailCheapNewsletter app priced by emails sent, not by subscribers
    • AerionLightweight email client for Linux, macOS and Windows built on Wails
    • MailySendResend-compatible email platform on Cloudflare
    • GoferSelf-hosted home for mail, contacts and calendar

    More in Terminal UI

    See all 39 →
    • MastuiMulti-column Mastodon client for the terminal
    • NerdlogMulti-host TUI log viewer with a timeline histogram and no central server
    • Localization Resource ManagerLocalization files from one binary, as a CLI, terminal UI, web UI or in VS Code
    • kernwatchTerminal dashboard for Linux kernel observability
    • KatesPerformance, chaos and security testing for Kafka on Kubernetes
    • gitpaneMulti-repo Git dashboard for the terminal and the VS Code Explorer

    More in Go

    See all 99 →
    • SupermetryCookie-free web and product analytics on one Go binary and PostgreSQL
    • StreambedPostgres-to-Iceberg CDC engine with a built-in Postgres wire query server
    • OmagenImage-to-theme studio for Omarchy with reversible previews and recovery
    • XDPerfXDP traffic generator with WASM packet plugins
    • pistachioDeclarative PostgreSQL schema management with a plan and apply workflow
    • PandaWardLocal application security assessment that reports what it couldn't decide