aboutsummaryrefslogtreecommitdiff
path: root/bin/.local/bin/scripts/checkmail
diff options
context:
space:
mode:
Diffstat (limited to 'bin/.local/bin/scripts/checkmail')
-rwxr-xr-xbin/.local/bin/scripts/checkmail5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/.local/bin/scripts/checkmail b/bin/.local/bin/scripts/checkmail
index 2b7dad1..2596b71 100755
--- a/bin/.local/bin/scripts/checkmail
+++ b/bin/.local/bin/scripts/checkmail
@@ -2,6 +2,11 @@
mbsync -a
notmuch new
+notmuch search --format=text0 --output=files tag:del | xargs -0 --no-run-if-empty rm
+notmuch tag +linux +contrib -- to:[email protected]
+notmuch tag +emacs-devel +emacs +contrib -- to:[email protected]
+notmuch tag +emacs-humanities +emacs -- to:[email protected]
+notmuch tag +emacs-org +emacs +org-mode -- to:[email protected]
# logging
LOG_FILE="$HOME/.cache/checkmail"