From ae976c2bd8a4b72174f001d84a52850dae01ebeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Fri, 1 Apr 2022 19:04:30 +0200 Subject: Clear employer configs --- bin/tagmail | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'bin') 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))) -- cgit v1.2.3