aboutsummaryrefslogtreecommitdiff
path: root/email/dot-config/notmuch/default/hooks/post-new
diff options
context:
space:
mode:
Diffstat (limited to 'email/dot-config/notmuch/default/hooks/post-new')
-rwxr-xr-xemail/dot-config/notmuch/default/hooks/post-new5
1 files changed, 5 insertions, 0 deletions
diff --git a/email/dot-config/notmuch/default/hooks/post-new b/email/dot-config/notmuch/default/hooks/post-new
index f03a5d1..5a02ff0 100755
--- a/email/dot-config/notmuch/default/hooks/post-new
+++ b/email/dot-config/notmuch/default/hooks/post-new
@@ -16,3 +16,8 @@ notmuch tag -unread -- tag:replied
# tag my replies as "sent"
notmuch tag -unread +sent -- '(from:"moreka@mit.edu*" not to:"moreka@mit.edu*" not to:"moreka@MIT.EDU*" not tag:archived)'
notmuch tag -unread +sent -- '(from:"m.r.karimi.j@gmail.com*" not to:"m.r.karimi.j@gmail.com*" not tag:archived)'
+
+# tag 18650 stuff for spring 26 correctly
+notmuch tag +18650 -- '(("18650" or "18.650" or body:"/18\.?650/" or subject:"/18\.?650/" or from:"18.650 on Piazza" or from:"MIT-Canvas") and date:2025-12-22..)'
+
+notmuch tag +18650 +18650org -- from:18650-spring26-org@mit.edu