Mail-CLI-dotfiles/mail/.notmuch/hooks/pre-new

11 lines
224 B
Plaintext
Raw Normal View History

2020-08-30 18:10:18 +02:00
#!/bin/sh
notmuch tag -unread tag:unread not tag:inbox
mbsync -a -L
#msg=$(mbsync -a -L 2>&1)
#echo "$msg";
#
#if [ 0 -ne $? ]; then
# notify-send -u critical -i "applications-email-panel" "Failed Mail fetch" "$msg";
#fi