8 **notmuch** **address** [*option* ...] <*search-term*> ...
13 Search for messages matching the given search terms, and display the
14 addresses from them. Duplicate addresses are filtered out.
16 See **notmuch-search-terms(7)** for details of the supported syntax for
19 Supported options for **address** include
21 ``--format=``\ (**json**\ \|\ **sexp**\ \|\ **text**\ \|\ **text0**)
22 Presents the results in either JSON, S-Expressions, newline
23 character separated plain-text (default), or null character
24 separated plain-text (compatible with **xargs(1)** -0 option
27 ``--format-version=N``
28 Use the specified structured output format version. This is
29 intended for programs that invoke **notmuch(1)** internally. If
30 omitted, the latest supported version will be used.
32 ``--output=(sender|recipients|count)``
34 Controls which information appears in the output. This option
35 can be given multiple times to combine different outputs.
36 When neither --output=sender nor --output=recipients is
37 given, --output=sender is implied.
40 Output all addresses from the *From* header.
42 Note: Searching for **sender** should be much faster than
43 searching for **recipients**, because sender addresses are
44 cached directly in the database whereas other addresses
45 need to be fetched from message files.
48 Output all addresses from the *To*, *Cc* and *Bcc*
52 Print the count of how many times was the address
53 encountered during search.
55 Note: With this option, addresses are printed only after
56 the whole search is finished. This may take long time.
58 ``--sort=``\ (**newest-first**\ \|\ **oldest-first**)
59 This option can be used to present results in either
60 chronological order (**oldest-first**) or reverse chronological
61 order (**newest-first**).
63 By default, results will be displayed in reverse chronological
64 order, (that is, the newest results will be displayed first).
66 This option is not supported with --output=count.
68 ``--exclude=(true|false)``
69 A message is called "excluded" if it matches at least one tag in
70 search.tag\_exclude that does not appear explicitly in the
71 search terms. This option specifies whether to omit excluded
72 messages in the search process.
74 The default value, **true**, prevents excluded messages from
75 matching the search terms.
77 **false** allows excluded messages to match search terms and
78 appear in displayed results.
83 This command supports the following special exit status codes
86 The requested format version is too old.
89 The requested format version is too new.
94 **notmuch(1)**, **notmuch-config(1)**, **notmuch-count(1)**,
95 **notmuch-dump(1)**, **notmuch-hooks(5)**, **notmuch-insert(1)**,
96 **notmuch-new(1)**, **notmuch-reply(1)**, **notmuch-restore(1)**,
97 **notmuch-search-terms(7)**, **notmuch-show(1)**, **notmuch-tag(1)**,