taskd/mail.sh: Take optional fourth parameter with project name