All apps/Notmuch

Notmuch

notmuch

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

Runs as notmuch|macOS, Linux, Windows|notmuchmail.org

Command form

ai-draft · 2 tasks · 7 fields

Search the mail index and list matching threads. Other notmuch subcommands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui notmuch

notmuch search

Search mail

Search for messages matching the given search terms and display the threads containing them.

Search mailExample values, fixed in this page — nothing here reaches a terminal
Basic
Search terms*
string
Sort
2 choicesenum
Limit results
integer
TasksEach one presets the form for one job
Search threads
termssortlimit
List message IDs
termslimit
ParametersOnly these flags are editable in the form
Search terms
Example: tag:unread and date:today..
string · positional 0 · repeatable
Output
enum
--outputsummarythreadsmessagesfilestags
Format
enum
--formattextjsonsexptext0
Sort
enum
--sortnewest-firstoldest-first
Limit results
integer
--limit
Skip first results
integer
--offset
Excluded tags
enum
--excludetruefalseallflag
SourcesEvery flag above is checked against these
man
notmuch search [option ...] <search-term> ... --format=(json|sexp|text|text0) --output=(summary|threads|messages|files|tags) --sort=(newest-first|oldest-first) --offset=[-]N --limit=N --exclude=(true|false|all|flag)
manual0.40-2

manpages.debian.org

Before it fills your prompt, Otty checks the installed notmuch against its version. A form that does not match your version is not offered.