Fix for nodemailer 1.0.