aboutsummaryrefslogtreecommitdiffstats
path: root/bin/tagmail
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2022-04-01 19:04:30 +0200
committerÓscar Nájera <hi@oscarnajera.com>2022-04-01 19:04:30 +0200
commitae976c2bd8a4b72174f001d84a52850dae01ebeb (patch)
tree9e5e3ece26408970ca0983af173b1a5b5fc7b689 /bin/tagmail
parent9c94f06db9fdc9d40f98a0abd4a9646977f45ea1 (diff)
downloaddotfiles-ae976c2bd8a4b72174f001d84a52850dae01ebeb.tar.gz
dotfiles-ae976c2bd8a4b72174f001d84a52850dae01ebeb.tar.bz2
dotfiles-ae976c2bd8a4b72174f001d84a52850dae01ebeb.zip
Clear employer configs
Diffstat (limited to 'bin/tagmail')
-rwxr-xr-xbin/tagmail7
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)))