From 446c0865bfeddd8a631eeddf5ddd8332d794f8e9 Mon Sep 17 00:00:00 2001 From: jason Date: Sat, 21 Nov 2020 14:23:07 -0700 Subject: add script to check mail with notmuch and lieer --- scripts/bin/checkmail.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/bin/checkmail.sh (limited to 'scripts') 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 @@ +#!/usr/bin/env bash +parallel gmi sync --no-progress -C ::: ~/.mail/jason_zzq.gmail ~/.mail/jason_hitched.gmail + +notmuch tag -important \* + +notmuch tag +hitched "folder:/.*jason_hitched\.gmail/" +notmuch tag -hitched -inbox "tag:debezium" +notmuch tag -hitched -inbox "tag:/github\/.*/" + +notmuch tag +zzq "folder:/.*jason_zzq\.gmail/" +notmuch tag -inbox "tag:zzq and tag:fsf" # don't put fsf newsletter in inbox +notmuch tag -inbox "tag:zzq and tag:pycoders" # don't put pycoders newsletter in inbox -- cgit v1.2.1