8 **notmuch** **count** **property:**\ <*key*>=<*value*>
10 **notmuch** **search** **property:**\ <*key*>=<*value*>
12 **notmuch** **show** **property:**\ <*key*>=<*value*>
14 **notmuch** **reindex** **property:**\ <*key*>=<*value*>
16 **notmuch** **tag** +<*tag*> **property:**\ <*key*>=<*value*>
19 **notmuch** **dump** **--include=properties**
21 **notmuch** **restore** **--include=properties**
26 Several notmuch commands can search for, modify, add or remove
27 properties associated with specific messages. Properties are
28 key/value pairs, and a message can have more than one key/value pair
31 While users can select based on a specific property in their search
32 terms with the prefix **property:**, the notmuch command-line
33 interface does not provide mechanisms for modifying properties
36 Instead, message properties are expected to be set and used
37 programmatically, according to logic in notmuch itself, or in
40 Extensions to notmuch which make use of properties are encouraged to
41 report the specific properties used to the upstream notmuch project,
42 as a way of avoiding collisions in the property namespace.
47 Any property with a key that starts with "index." will be removed (and
48 possibly re-set) upon reindexing (see **notmuch-reindex(1)**).
53 The following properties are set by notmuch internally in the course
54 of its normal activity.
58 If a message contains encrypted content, and notmuch tries to
59 decrypt that content during indexing, it will add the property
60 ``index.decryption=success`` when the cleartext was successfully
61 indexed. If notmuch attempts to decrypt any part of a message
62 during indexing and that decryption attempt fails, it will add the
63 property ``index.decryption=failure`` to the message.
65 Note that it's possible for a single message to have both
66 ``index.decryption=success`` and ``index.decryption=failure``.
67 Consider an encrypted e-mail message that contains another
68 encrypted e-mail message as an attachment -- if the outer message
69 can be decrypted, but the attached part cannot, then both
70 properties will be set on the message as a whole.
72 If notmuch never tried to decrypt an encrypted message during
73 indexing (which is the default, see ``index.try_decrypt`` in
74 **notmuch-config(1)**), then this property will not be set on that
81 **notmuch-config(1)**,
83 **notmuch-insert(1)**,
85 **notmuch-reindex(1)**,
86 **notmuch-restore(1)**,
87 ***notmuch-search-terms(7)**