notmuch

Command-line based program for indexing, searching, reading, and tagging large collections of email messages.

TLDR

Configure for first use

$ notmuch setup
copy

Add a tag for all messages matching a search term

$ notmuch tag +[custom_tag] "[search_term]"
copy

Remove a tag for all messages matching a search term

$ notmuch tag -[custom_tag] "[search_term]"
copy

Count messages matching the given search term

$ notmuch count --output=[messages|threads] "[search_term]"
copy

Search for messages matching the given search term

$ notmuch search --format=[json|text] --output=[summary|threads|messages|files|tags] "[search_term]"
copy

Limit the number of search results to X

$ notmuch search --format=[json|text] --output=[summary|threads|messages|files|tags] --limit=[X] "[search_term]"
copy

Create a reply template for a set of messages

$ notmuch reply --format=[default|headers-only] --reply-to=[sender|all] "[search_term]"
copy

Copied to clipboard
free 100$ digital ocean credit