upgrades nodemailer to version 1.2.1
cleans up devMode logic