diff options
Diffstat (limited to 'bin/tagmail')
-rwxr-xr-x | bin/tagmail | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/tagmail b/bin/tagmail index 90838bd..31a236d 100755 --- a/bin/tagmail +++ b/bin/tagmail @@ -160,11 +160,7 @@ LD_LIBRARY_PATH=$HOME/.guix-profile/lib exec guile -e main -s "$0" "$@" (define tag-rules '(("+ci" "from:travis-ci.com or from:travis-ci.org or from:appveyor.com or from:circleci.com or from:mg.gitlab.com and subject:Pipeline") - ("+CMK-JIRA -inbox" "from:infra@mathias-kettner.de or (from:jira and not subject:\"mentioned you\")") ("+slack" "from:slack.com") - ("+alle-mk" "to:alle@mathias-kettner.de to:technik@tribe29.com") - ("+cmk-commits" "to:cmk-internal-commits@mathias-kettner.de") - ("+cma-commits" "to:cma-commits@mathias-kettner.de") ("+immonews" "from:immobilienscout24.de") ("+immonews/communications" "from:nachrichten.immobilienscout24.de or subject:Kontaktaufnahme and tag:immonews") ("+socialnews" "from:facebookmail.com or from:mail.instagram.com") @@ -181,8 +177,7 @@ LD_LIBRARY_PATH=$HOME/.guix-profile/lib exec guile -e main -s "$0" "$@" (define (clear-inbox options ffi-db) (display (colorize-string "[Inbox]\n" 'BOLD 'YELLOW)) - (let* ((my-emails (list "hi@oscarnajera.com" "hello@oscarnajera.com" "najera.oscar@gmail.com" - "on@mathias-kettner.de" "oscar.najera@tribe29.com")) + (let* ((my-emails (list "hi@oscarnajera.com" "hello@oscarnajera.com" "najera.oscar@gmail.com")) (sent (format #f "(~{from:~a~^ OR ~}) AND NOT (~:*~{to:~a~^ OR ~})" my-emails))) (notmuch-tag options ffi-db `(("+sent" ,sent "Emails I have sent") ("+inbox" "*" "Inbox for the rest")) #t))) |