I’ve never got nodemailer working in production, so I simply switched to another library and it’s been working great:
nodemailer