aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorjason2020-11-21 14:23:07 -0700
committerjason2020-11-21 14:23:07 -0700
commit446c0865bfeddd8a631eeddf5ddd8332d794f8e9 (patch)
treef8d7785c270287c81d3621754e6555cdbe28394c /scripts
parent6a67cb3e664f05791f83726c3f2f972a258b8d7c (diff)
downloaddotfiles-446c0865bfeddd8a631eeddf5ddd8332d794f8e9.tar.gz
dotfiles-446c0865bfeddd8a631eeddf5ddd8332d794f8e9.zip
add script to check mail with notmuch and lieer
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