notmuch
Index, search, read, and tag large collections of email messages. tldr-pages
On several platforms
Several platforms
Configure for first use
notmuch setupIdentifyAdd a tag for all messages matching a search term
notmuch tag +custom_tag "search_term"IdentifyRemove a tag for all messages matching a search term
notmuch tag -custom_tag "search_term"IdentifyCount messages matching the given search term
notmuch count --output=messages "search_term"IdentifySearch for messages matching the given search term
notmuch search --format=json --output=summary "search_term"IdentifyLimit the number of search results to X
notmuch search --format=json --output=summary --limit=X "search_term"IdentifyCreate a reply template for a set of messages
notmuch reply --format=default --reply-to=sender "search_term"Identify