The latest email-templates support SMTP configuration as a default so that you don’t need to use both of nodemailer and email-templates to send emails. In a nutshell this package internally installs nodemailer as a sub-package.
https://www.npmjs.com/package/email-templates
transport
(Object) – a transport configuration object or a Nodemailer transport instance created via¬†nodemailer.createTransport
, defaults to an empty object {}
, see Nodemailer transports documentation for more insight