You can use the `post-new` hook, which is automatically run after `notmuch new`,
to do post-processing. See `man notmuch-hooks` for details on hooks.
You can use the `post-new` hook, which is automatically run after `notmuch new`,
to do post-processing. See `man notmuch-hooks` for details on hooks.
Since notmuch currently does not index arbitrary headers, it can be
useful to tag based on content. Here is a snippet that would fit with
the 'new' tag approach discussed above.
for mid in $(notmuch search --output=messages tag:new); do
Since notmuch currently does not index arbitrary headers, it can be
useful to tag based on content. Here is a snippet that would fit with
the 'new' tag approach discussed above.
for mid in $(notmuch search --output=messages tag:new); do
tagging script that read its configuration from a JSON file. The script is
written in Perl6 and depends on the Email::Notmuch binding.
tagging script that read its configuration from a JSON file. The script is
written in Perl6 and depends on the Email::Notmuch binding.
## Notmuch MDA -- `notmuch-insert`
The [[notmuch insert command|manpages/notmuch-insert-1]] is a tool for
## Notmuch MDA -- `notmuch-insert`
The [[notmuch insert command|manpages/notmuch-insert-1]] is a tool for