Files
dotfiles/Mail/.local/share/mail/.notmuch/hooks/post-new
2023-04-25 13:00:25 +01:00

23 lines
823 B
Bash
Executable File

#!/bin/sh
# unread;inbox;warwick;banks;receipts;spotify
notmuch tag +inbox +unread -new -- tag:new
notmuch tag -new -unread -inbox +sent -- '(from:"aryadev@aryadevchavali.com*" not to:"*@aryadevchavali.com.com*" not tag:list)'
notmuch tag -inbox +list 'from:"rss@aryadevchavali.com"'
notmuch tag -inbox -unread +spam 'path:general/Junk/**'
notmuch tag -inbox +warwick from:'*@warwick.ac.uk*'
notmuch tag -inbox -unread +receipts from:'*@paypal.co.uk*' \
from:'*@namcheap.com*' from:'*@digitalocean.com*' \
from:'*@spotify.com*' from:'*@nationalexpress.com*'
notmuch tag -inbox +jobs from:'*@jobs*' from:'*@indeed.com*'
notmuch tag -inbox +bank from:'*@*hsbc*' from:'*@*lloydsbank*'
notmuch tag +flagged from:'expiry@letsencrypt.org'
notmuch tag -inbox +unread +trading from:"noreply@trading212.com"