aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel <[email protected]>2024-07-24 18:03:26 -0400
committerDaniel <[email protected]>2024-07-24 18:03:26 -0400
commit75ccc4e3865f11718beb0478e53fccd7c0fc2db0 (patch)
treea24cfca3ee9e1f1577511d51f0c26b9fab65f48c
parentb2b684d7000418418d15cd83a84aa1d7278f672d (diff)
tag sorting and autodelete
-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"