use nodemailer instead of obsolete mailer