aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bin/checkmail.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/bin/checkmail.sh b/scripts/bin/checkmail.sh
new file mode 100755
index 0000000..a0fcc76
--- /dev/null
+++ b/scripts/bin/checkmail.sh
@@ -0,0 +1,12 @@
1#!/usr/bin/env bash
2parallel gmi sync --no-progress -C ::: ~/.mail/jason_zzq.gmail ~/.mail/jason_hitched.gmail
3
4notmuch tag -important \*
5
6notmuch tag +hitched "folder:/.*jason_hitched\.gmail/"
7notmuch tag -hitched -inbox "tag:debezium"
8notmuch tag -hitched -inbox "tag:/github\/.*/"
9
10notmuch tag +zzq "folder:/.*jason_zzq\.gmail/"
11notmuch tag -inbox "tag:zzq and tag:fsf" # don't put fsf newsletter in inbox
12notmuch tag -inbox "tag:zzq and tag:pycoders" # don't put pycoders newsletter in inbox