Changes to support latest nodemailer configuration. Remove email-templates processing.