#!/bin/sh

# neomutt shutdown-hook is buggy with mbsync, so I decided to use a wrapper script instead
# more see neomuttrc and vq bug notes
mbsync -a
/usr/bin/neomutt "$@"
mbsync -a