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
solution that should work out of the box for most basic tagging
needs (mailinglist handling, killed thread handling, autoarchiving
solution that should work out of the box for most basic tagging
needs (mailinglist handling, killed thread handling, autoarchiving
* [p6-notmuch-filter](https://github.com/goneri/p6-notmuch-filter) a initial
tagging script that read its configuration from a JSON file. The script is
written in Perl6 and depends on the Email::Notmuch binding.
* [p6-notmuch-filter](https://github.com/goneri/p6-notmuch-filter) a initial
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