* fixed bug in mail.js