fixed mail.js