[mail] Fix how notmuch and mbsync work

This commit is contained in:
2026-08-05 00:05:24 -04:00
parent a956955300
commit b4935c82d7
12 changed files with 160 additions and 136 deletions

View File

@ -7,9 +7,10 @@ if [ $(pidof $AFEW_SERVICE) ] || [ $(pidof $MBSYNC_SERVICE) ] || [ $(pidof $NOTM
echo "Checkmail is already running."
else
echo "Checking for new mail"
afew -m -n
mbsync -a
mkdir -p ~/Mail/colin@unbl.ink/Junk/{cur,new,tmp}
mbsync unblink
notmuch new
afew -t -n
afew -m -n
fi
exit 0