add script for putting emails in pending state

This commit is contained in:
2022-02-16 12:06:07 +01:00
parent c75f26b384
commit b491394670
3 changed files with 68 additions and 0 deletions

View File

@@ -53,6 +53,10 @@ echo "[DEBUG] Tag mails based on their folder (tag-folder.sh)"
bash "$CURDIR"/scripts/tag-folder.sh # generates commands from tag-folder.csv
bash "$CURDIR"/scripts/tag-folder-rules.sh # executes generated commands
# Handle pending days (tag:/pend*/)
echo "[DEBUG] Handle pending tags (pending.sh)"
bash "$CURDIR"/scripts/pending.sh
# Mark mails in certain folders read
echo "[DEBUG] Mark mails in trash folders read"
notmuch tag -unread -- path:Trash/**