From a25f817202787a140cee28bd4e1a385f1119f30c Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 12 Jul 2018 09:07:09 -0700 Subject: Email tweaks --- mutt/notmuch-hook.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'mutt') diff --git a/mutt/notmuch-hook.sh b/mutt/notmuch-hook.sh index eec6680..29fe9dc 100755 --- a/mutt/notmuch-hook.sh +++ b/mutt/notmuch-hook.sh @@ -5,14 +5,18 @@ notmuch new # retag all "new" messages "inbox" and "unread" notmuch tag +inbox +unread -new -- tag:new -# tag all messages from "me" as sent and rmeove tags inbox and unread -notmuch tag -new -unread -inbox +sent -- from:ben@bsima.me or from:bsima@me.com +# tag all messages from "me" as sent +notmuch tag +sent -- from:ben@bsima.me + +# tag TODOs from myself +notmuch tag +todo -- subject:TODO # tag some newsletters, but don't show them in inbox -notmuch tag +newsletters -new -inbox -- \ +notmuch tag +newsletters -inbox -- \ from:the-morning-paper@onelanday.co.uk or \ from:newsletter@fightaging.org or \ - subject:'The Reading List Email*' + subject:'The Reading List Email*' or \ + from:info@haskellweekly.news # tag logwatch emails & remove from inbox notmuch tag +logwatch -new -inbox -- subject:'Logwatch*' -- cgit v1.2.3