dotfiles/arch/bin/notmuch-hook.sh

8 lines
245 B
Bash
Raw Normal View History

2022-08-24 08:07:33 +00:00
#!/bin/sh
notmuch new
# retag all "new" messages "inbox" and "unread"
notmuch tag +inbox +unread -new -- tag:new
# tag all messages from "me" as sent and remove tags inbox and unread
notmuch tag -new -inbox +sent -- from:adam@theadamcooper.com