added smtp.js for sending mails