Automatically delete some old GoG promotional emails

This commit is contained in:
Tom Willemse 2024-04-07 00:20:58 -07:00
parent d7b912555c
commit ba1590bba3

View file

@ -7,4 +7,5 @@ exec scsh -e main -s "$0" "$@"
(define (main args)
(run (notmuch-collect-tasks ,(format #f "~a/documents/gtd/inbox.org" (getenv "HOME"))))
(run (notmuch-tag-mailinglists))
(run (notmuch tag "+@me" "(" to:tom@ryuslash.org or to:ryuslash@gmail.com ")" and not tag:@me)))
(run (notmuch tag "+@me" "(" to:tom@ryuslash.org or to:ryuslash@gmail.com ")" and not tag:@me))
(run (notmuch tag "+deleted" from:gog.com and "subject:expires in 24" and date:..24-hours-ago)))