diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/bin/checkmail.sh | 12 |
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 | ||
| 2 | parallel gmi sync --no-progress -C ::: ~/.mail/jason_zzq.gmail ~/.mail/jason_hitched.gmail | ||
| 3 | |||
| 4 | notmuch tag -important \* | ||
| 5 | |||
| 6 | notmuch tag +hitched "folder:/.*jason_hitched\.gmail/" | ||
| 7 | notmuch tag -hitched -inbox "tag:debezium" | ||
| 8 | notmuch tag -hitched -inbox "tag:/github\/.*/" | ||
| 9 | |||
| 10 | notmuch tag +zzq "folder:/.*jason_zzq\.gmail/" | ||
| 11 | notmuch tag -inbox "tag:zzq and tag:fsf" # don't put fsf newsletter in inbox | ||
| 12 | notmuch tag -inbox "tag:zzq and tag:pycoders" # don't put pycoders newsletter in inbox | ||