summaryrefslogtreecommitdiff
path: root/notmuch-hook.sh
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-11-10 07:58:01 -0800
committerBen Sima <ben@bsima.me>2018-11-10 07:58:01 -0800
commitf64aedf9d82062df9decfcc71583b83c2aa34116 (patch)
tree3767c3000b033d8133424a4257a140646a6d6915 /notmuch-hook.sh
parent7283ffd5916bfc7f8d935604efe2741dd6813bab (diff)
Implement afew
Diffstat (limited to 'notmuch-hook.sh')
-rwxr-xr-xnotmuch-hook.sh39
1 files changed, 0 insertions, 39 deletions
diff --git a/notmuch-hook.sh b/notmuch-hook.sh
deleted file mode 100755
index a5a7f7e..0000000
--- a/notmuch-hook.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/usr/bin/env sh
-
-# tag all messages from "me" as sent
-notmuch tag +sent -inbox -unread -- from:ben@bsima.me
-
-# tag TODOs from myself, always mark as unread so I'm forced to process them
-notmuch tag +todo -inbox +unread -- subject:TODO and from:ben@bsima.me and to:ben@bsima.me
-
-# tag some newsletters, but don't show them in inbox
-notmuch tag +newsletters -inbox -- \
- from:the-morning-paper@onelanday.co.uk or \
- from:newsletter@fightaging.org or \
- subject:'The Reading List Email*' or \
- from:info@haskellweekly.news or \
- from:kale@hackernewsletter.com \
- from:newsletter@farnamstreetblog.com
-
-# tag logwatch emails & remove from inbox
-notmuch tag +logwatch -new -inbox -- subject:'Logwatch*'
-
-# tag job-related emails
-notmuch tag +jobs -inbox -- \
- from:alist.co or \
- from:angel.co or \
- from:stackoverflow.com or \
- from:stackoverflow.email or \
- from:cdmtechnology.com or \
- subject:job
-
-# tag github emails
-notmuch tag +github -inbox -- from:github.com
-
-## mailing lists
-notmuch tag -inbox +haskell -- to:haskell-cafe@haskell.org
-notmuch tag -inbox +clojure -- to:clojure@googlegroups.com
-notmuch tag -inbox +ai -- to:scikit-learn@python.org OR to:tensorflow.org
-notmuch tag -inbox +bitcoin -- to:bitcoin-dev@lists.linuxfoundation.org OR to:bitcoin-discuss@lists.linuxfoundation.org
-notmuch tag -inbox +diybio -- to:diybio@googlegroups.com
-notmuch tag -inbox +meetups -- from:meetup.com