[bin] Expand notmuch-hook.sh into mail-sync.sh

This commit is contained in:
Adam Cooper 2022-11-24 03:32:18 -05:00
parent c873278609
commit 9a36eb24f1

View file

@ -1,7 +0,0 @@
#!/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