updated mail to build
Merge pull request #395 from lslezak/mail_buildfix

updated "mail" to build