Syntax update for nodemailer new version