Update email node to use nodemailer 1.x api
Fixes #334