aboutsummaryrefslogtreecommitdiffstats
path: root/notmuch
diff options
context:
space:
mode:
authorGravatar Tom Willemse2023-06-22 16:38:41 -0700
committerGravatar Tom Willemse2023-06-22 16:38:41 -0700
commit59b3e3439b6fc25f6739710ae8c3aad748ca5a27 (patch)
treeefdfb74dd5438055922d65289cb6ba4081ecc5a0 /notmuch
parentbf90014ba8b1381bd07ea401c3ebedab4c2a7208 (diff)
downloadnew-dotfiles-59b3e3439b6fc25f6739710ae8c3aad748ca5a27.tar.gz
new-dotfiles-59b3e3439b6fc25f6739710ae8c3aad748ca5a27.zip
[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.
Diffstat (limited to 'notmuch')
-rwxr-xr-xnotmuch/.config/notmuch/default/hooks/post-new3
1 files changed, 2 insertions, 1 deletions
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)))