diff --git a/mail/.config/afew/config b/mail/.config/afew/config index 604b854..6a64880 100644 --- a/mail/.config/afew/config +++ b/mail/.config/afew/config @@ -24,6 +24,12 @@ query = 'from:noreply@md.getsentry.com' tags = +sentry;-inbox;+15five message = sentry error +# Jira tag as Jira +[Filter.3] +query = 'from:jira@15five-dev.atlassian.net' +tags = +jira;-inbox;+15five +message = jira message + [MailMover] folders = Inbox Junk rename = False diff --git a/mail/.mbsyncrc b/mail/.mbsyncrc index a4d7c1e..b0c11ba 100644 --- a/mail/.mbsyncrc +++ b/mail/.mbsyncrc @@ -159,13 +159,13 @@ Sync All Channel 15five-sent Master :15five-remote:"[Gmail]/Sent Mail" -Slave :15five-local:sent +Slave :15five-local:Sent Create Slave Sync Pull Channel 15five-trash Master :15five-remote:"[Gmail]/Trash" -Slave :15five-local:trash +Slave :15five-local:Trash Create Slave Sync Pull diff --git a/systemd/.config/systemd/user/checkmail.sh b/systemd/.config/systemd/user/checkmail.sh index ad1cb24..8c13415 100755 --- a/systemd/.config/systemd/user/checkmail.sh +++ b/systemd/.config/systemd/user/checkmail.sh @@ -4,10 +4,10 @@ STATE=`nmcli networking connectivity` if [ $STATE = 'full' ] then + afew --m --new mbsync -a notmuch new afew --tag --new - afew --m --new exit 0 fi echo "No internet connection"