diff options
| author | Mike Vink <mike1994vink@gmail.com> | 2023-06-28 00:39:56 +0200 |
|---|---|---|
| committer | Mike Vink <mike1994vink@gmail.com> | 2023-06-28 00:39:56 +0200 |
| commit | 3ff163f82355aba1cbd60332309209bbe5cd92c9 (patch) | |
| tree | 81cf22c6a186257e997331bba076c425704fcd93 /shell-scripts/notmuch-hook | |
| parent | f4effc7665bf280c8587c6c65e4ee769d0244363 (diff) | |
email update
Diffstat (limited to 'shell-scripts/notmuch-hook')
| -rw-r--r-- | shell-scripts/notmuch-hook | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/shell-scripts/notmuch-hook b/shell-scripts/notmuch-hook new file mode 100644 index 0000000..268f315 --- /dev/null +++ b/shell-scripts/notmuch-hook @@ -0,0 +1,10 @@ +. <(pass show personal/notmuch) +notmuch new --quiet +notmuch tag -new +jobs -- from:jobs-listing* or from:jobs-noreply* +notmuch tag -new +houses -- from:"$MAKELAAR" or thread:"{$MAKELAAR}" +notmuch tag -new -inbox +dev -- from:/.*github.com/ or thread:"{from:/.*github.com/}" + +notmuch tag -new +inbox +unread -- tag:new and path:gmail/Inbox/** +notmuch tag -new +archive -- 'path:gmail/Archive/** -path:gmail/Inbox/** -path:gmail/[Gmail]/** -path:gmail/FarDrafts/** -path:gmail/Important/** -path:gmail/Sent/**' +notmuch tag --remove-all +trash -- path:gmail/Trash/** +notmuch tag --remove-all +spam -- folder:/Spam/ |
