Add dependency test for mail.sh