Automic VaultAutomic Vault

brew

Install notmuch with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Thread-based email index, search, and tagging. Version 0.40 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install notmuch

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install notmuch

MacPorts ports tree · mail/notmuch/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add notmuch

Alpine Linux edge package indexes · notmuch · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install elpa-notmuch

Debian stable package indexes · elpa-notmuch · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install emacs-notmuch

Fedora Rawhide package metadata · emacs-notmuch · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#notmuch

nixpkgs package indexes · notmuch · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S notmuch

Arch Linux sync databases · notmuch · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libnotmuch5

openSUSE Tumbleweed package metadata · libnotmuch5 · source: download.opensuse.org

overview

Package summary

Thread-based email index, search, and tagging

Commands and aliases

  • notmuch
  • notmuch-emacs-mua
  • notmuch-git

history

Project history and usage

Notmuch is a thread-based email index, search, and tagging system built around local mail stores and Xapian search. It deliberately does not receive or send mail; instead it provides the database, CLI, library, tags, and frontends that let other tools build a mail workflow.

The project began as an answer to Sup. The Notmuch homepage says it started as an effort to rewrite Sup's performance-critical pieces in C rather than Ruby, then grew into a separate project with a clean separation between search/indexing and user interface.

Project history

Notmuch's first public source tarball in the official release directory is notmuch-0.1.tar.gz, dated 2010-04-05. The project had many 0.x releases through the 2010s and reached version 0.40 on 2026-01-31.

The architecture choice that mattered was treating mail as a local searchable database with arbitrary tags. Xapian handles the heavy search work, while Notmuch exposes command-line tools, a C library, language bindings, an Emacs client, Vim support, Mutt integration, and scripts such as notmuch-git.

Adoption history

Notmuch has long-running Unix email adoption rather than mass-market adoption. Its homepage lists packages for Arch Linux, Debian, Fedora, FreeBSD, Gentoo, NetBSD, openSUSE, macOS Homebrew/MacPorts/pkgsrc, and Slackware, and the av.db package record also maps it across Homebrew, apk, Debian/Ubuntu, dnf, MacPorts, Nix, pacman, and zypper.

Homebrew's formula API reported 2,580 install-on-request events and 6,314 installs for notmuch in its 365-day analytics window. That is meaningful for a local-mail power-user tool, especially because many Notmuch users install from Linux distribution packages rather than Homebrew.

How it is used

Users point Notmuch at an existing Maildir-style mail store, run the initial setup/indexing flow, then use queries and tags to triage mail. Practical setups commonly pair it with offlineimap/isync or another mail synchronizer, an editor or terminal MUA, and tagging rules for inbox, lists, patches, and saved searches.

Package nerds use Notmuch as infrastructure: notmuch search for shell scripts, notmuch show for extracting messages or patches, Emacs notmuch for a full mail UI, notmuch-mutt for Mutt workflows, and language bindings or libnotmuch for custom tools.

Why package nerds care

Notmuch is one of the canonical examples of Unix-style personal information tooling: it does one hard local thing, makes it fast, keeps data out of hosted search, and lets frontends compete on workflow. Its long release history and packaging breadth make it much more significant than its mainstream visibility suggests.

Timeline

  • 2010-04-05: notmuch-0.1 tarball appears in the official release directory.
  • 2011-12-26: Notmuch frontend wiki page created, later documenting shipped and external clients.
  • 2025-03-15: Notmuch 0.39 released.
  • 2026-01-31: Notmuch 0.40 released.

Related projects

  • Sup
  • Xapian
  • notmuch-emacs
  • notmuch-mutt
  • notmuch-vim
  • NeoMutt
  • aerc
  • alot
  • astroid

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 8 runtime dependencies.
  • Build metadata lists 6 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
$NOTMUCH_CONFIG$XDG_CONFIG_HOME/notmuch/<profile>/config$XDG_CONFIG_HOME/notmuch/default/config~/.notmuch-config.<profile>~/.notmuch-config

executables

Installed executables

CommandKindExposureNote
notmuchcliglobal executable
notmuch-emacs-muacliglobal executable
notmuch-gitcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.40
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

https://notmuchmail.org/

install metadata

Package metadata

Package keybrew:notmuch
Version0.40
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/notmuch
Homepagehttps://notmuchmail.org/
Repositoryhttps://git.notmuchmail.org/git/notmuch
Upstream docshttps://notmuchmail.org/doc/latest
LicenseGPL-3.0-or-later
Source archivehttps://notmuchmail.org/releases/notmuch-0.40.tar.xz
Last updated2026-06-22T14:05:38-07:00
Pulseupdated
Dependenciescffi, gettext, glib, gmime, python@3.14, sfsexp, talloc, xapian
Build dependenciesdoxygen, emacs, gnupg, libgpg-error, pkgconf, sphinx-doc
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenotmuch
Version Scheme0
Revision1
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

elpa-notmuch 0.39-1

thread-based email index, search and tagging (emacs interface)

https://notmuchmail.org/

sudo apt install elpa-notmuch
  • Section: mail
  • Architecture: all
  • Source Package: notmuch
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Notmuch
Debian stable package indexes · deb.debian.org · Debian stable package indexes: elpa-notmuch from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnotmuch-dev 0.39-1

thread-based email index, search and tagging (development)

https://notmuchmail.org/

sudo apt install libnotmuch-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: notmuch
  • 1 dependencies
  • normalized package name match
  • Matched by: Notmuch
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnotmuch-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnotmuch5t64 0.39-1

thread-based email index, search and tagging (runtime)

https://notmuchmail.org/

sudo apt install libnotmuch5t64
  • Section: libs
  • Architecture: amd64
  • Source Package: notmuch
  • 8 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Notmuch
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnotmuch5t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

notmuch 0.39-1

thread-based email index, search and tagging

https://notmuchmail.org/

sudo apt install notmuch
  • Section: mail
  • Architecture: amd64
  • 6 dependencies
  • 9 optional deps
  • normalized package name match
  • Matched by: Notmuch
Debian stable package indexes · deb.debian.org · Debian stable package indexes: notmuch from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

notmuch-doc 0.39-1

thread-based email index, search and tagging

https://notmuchmail.org/

sudo apt install notmuch-doc
  • Section: mail
  • Architecture: all
  • Source Package: notmuch
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Notmuch
Debian stable package indexes · deb.debian.org · Debian stable package indexes: notmuch-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

notmuch-git 0.39-1

thread-based email index, search and tagging

https://notmuchmail.org/

sudo apt install notmuch-git
  • Section: mail
  • Architecture: all
  • Source Package: notmuch
  • 3 dependencies
  • normalized package name match
  • Matched by: Notmuch
Debian stable package indexes · deb.debian.org · Debian stable package indexes: notmuch-git from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

notmuch-mutt 0.39-1

thread-based email index, search and tagging (Mutt interface)

https://notmuchmail.org/

sudo apt install notmuch-mutt
  • Section: mail
  • Architecture: all
  • Source Package: notmuch
  • 5 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Notmuch
Debian stable package indexes · deb.debian.org · Debian stable package indexes: notmuch-mutt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

notmuch-vim 0.39-1

thread-based email index, search and tagging (vim interface)

https://notmuchmail.org/

sudo apt install notmuch-vim
  • Section: mail
  • Architecture: all
  • Source Package: notmuch
  • 5 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Notmuch
Debian stable package indexes · deb.debian.org · Debian stable package indexes: notmuch-vim from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-notmuch2 0.39-1

Python 3 interface to the notmuch mail search and index library

https://notmuchmail.org/

sudo apt install python3-notmuch2
  • Section: python
  • Architecture: amd64
  • Source Package: notmuch
  • 5 dependencies
  • normalized package name match
  • Matched by: Notmuch
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-notmuch2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ruby-notmuch 0.39-1

Ruby interface to the notmuch mail search and index library

https://notmuchmail.org/

sudo apt install ruby-notmuch
  • Section: ruby
  • Architecture: amd64
  • Source Package: notmuch
  • 4 dependencies
  • normalized package name match
  • Matched by: Notmuch
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ruby-notmuch from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

notmuch

nix profile install nixpkgs#notmuch
  • normalized package name match
  • Matched by: Notmuch
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: notmuch from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

elpa-notmuch 0.38.3-1ubuntu2

thread-based email index, search and tagging (emacs interface)

https://notmuchmail.org/

sudo apt install elpa-notmuch
  • Section: universe/mail
  • Architecture: all
  • Source Package: notmuch
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Notmuch
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: elpa-notmuch from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libnotmuch-dev 0.38.3-1ubuntu2

thread-based email index, search and tagging (development)

https://notmuchmail.org/

sudo apt install libnotmuch-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: notmuch
  • 1 dependencies
  • normalized package name match
  • Matched by: Notmuch
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnotmuch-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libnotmuch5t64 0.38.3-1ubuntu2

thread-based email index, search and tagging (runtime)

https://notmuchmail.org/

sudo apt install libnotmuch5t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: notmuch
  • 8 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Notmuch
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnotmuch5t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

notmuch 0.38.3-1ubuntu2

thread-based email index, search and tagging

https://notmuchmail.org/

sudo apt install notmuch
  • Section: universe/mail
  • Architecture: amd64
  • 6 dependencies
  • 8 optional deps
  • normalized package name match
  • Matched by: Notmuch
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: notmuch from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

notmuch-doc 0.38.3-1ubuntu2

thread-based email index, search and tagging

https://notmuchmail.org/

sudo apt install notmuch-doc
  • Section: universe/mail
  • Architecture: all
  • Source Package: notmuch
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Notmuch
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: notmuch-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment