From 59b3e3439b6fc25f6739710ae8c3aad748ca5a27 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 22 Jun 2023 16:38:41 -0700 Subject: [notmuch] Tag any messages addressed to me specifically This helps me to set up a differentiation in notmuch faces for mailing lists versus email directed at me specifically. --- notmuch/.config/notmuch/default/hooks/post-new | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/notmuch/.config/notmuch/default/hooks/post-new b/notmuch/.config/notmuch/default/hooks/post-new index 4def978..01822a5 100755 --- a/notmuch/.config/notmuch/default/hooks/post-new +++ b/notmuch/.config/notmuch/default/hooks/post-new @@ -6,4 +6,5 @@ exec scsh -e main -s "$0" "$@" (define (main args) (run (notmuch-collect-tasks ,(format #f "~a/documents/gtd/inbox.org" (getenv "HOME")))) - (run (notmuch-tag-mailinglists))) + (run (notmuch-tag-mailinglists)) + (run (notmuch tag "+@me" "(" to:tom@ryuslash.org or to:ryuslash@gmail.com ")" and not tag:@me))) -- cgit v1.2.3-54-g00ecf