diff options
-rwxr-xr-x | bin/tagmail | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/tagmail b/bin/tagmail index c368c87..fd90bce 100755 --- a/bin/tagmail +++ b/bin/tagmail @@ -159,12 +159,12 @@ LD_LIBRARY_PATH=$HOME/.guix-profile/lib exec guile -e main -s "$0" "$@" (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))) `(("+sent" ,sent "Emails I have sent") + ("+CheckMK-Alerts" "subject:Check_MK AND from:contaboserver.net") + ("+fail2ban" "from:fail2ban" "Fail2ban report") ("+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") ("+slack" "from:slack.com") ("+immonews/communications" "from:nachrichten.immobilienscout24.de or subject:Kontaktaufnahme and tag:immonews") ("+ingrid" "from:postmaster@oscarnajera.com or from:root@oscarnajera.com" "Reports from ingrid") - ("+CheckMK-Alerts" "subject:Check_MK AND from:ingrid") - ("+fail2ban" "subject:Fail2Ban from:oscarnajera.com" "Fail2ban report") ("+arsmagna +inbox" "to:arsmagna.xyz") ;; Toastmasters @@ -178,6 +178,7 @@ LD_LIBRARY_PATH=$HOME/.guix-profile/lib exec guile -e main -s "$0" "$@" ("+calls" "folder:hi_pers/Calls") ;; clearing up from newsletters ("+lists +lists/ben-evans" "from:list@ben-evans.com") + ("+cloudflare" "from:cloudflare.com") ("+Indie-Hackers" "from:channing@indiehackers.com") ("+socialnews" "from:facebookmail.com or from:mail.instagram.com") ("+promotions" "from:newsletter") @@ -229,7 +230,7 @@ LD_LIBRARY_PATH=$HOME/.guix-profile/lib exec guile -e main -s "$0" "$@" (map tagger tag-rules) (list-tag options ffi-db new) (display "[Inbox]\n") - (tagger '("+inbox" "to:oscar@byteplant.com" "Inbox for the rest")) + (tagger '("+inbox" "*" "Inbox for the rest")) (tag-spam options ffi-db "tag:inbox"))))) |