notmuch

mail indexer and searcher

TLDR

Initial setup
$ notmuch setup
Index new mail
$ notmuch new
Search messages
$ notmuch search [from:[email protected]]
Show message
$ notmuch show [thread:id]
Tag messages
$ notmuch tag +[important] [search-terms]
Count messages
$ notmuch count [tag:inbox]
Reply to message
$ notmuch reply [thread:id]

SYNOPSIS

notmuch [command] [options]

DESCRIPTION

notmuch is a mail indexer and searcher. Provides fast full-text search.The tool indexes Maildir messages. Used with various email clients.

PARAMETERS

COMMAND

Notmuch subcommand.
setup
Initial configuration.
new
Index new messages.
search QUERY
Search messages.
show ID
Display message.
tag TAGS QUERY
Modify tags.
--help
Display help information.

INSTALL

sudo apt install notmuch
sudo dnf install notmuch
sudo pacman -S notmuch
sudo apk add notmuch
sudo zypper install notmuch
brew install notmuch
nix profile install nixpkgs#notmuch

CAVEATS

Maildir format only. Xapian backend. Frontend clients available.

HISTORY

notmuch was created by Carl Worth for fast email search, inspired by Gmail's search.

SEE ALSO

mu(1), mairix(1), mutt(1)