environment.emailOptions
implements EmailServiceOptions
, add the module to your Module imports:sendEmail
method, the email will use Ethereal and return a link where you will be able to preview the email on their website.sendEmail
method, the emails sent will be visible in the UI.libs/email-service/src/tools/generate-html/example.ts
and then run:libs/email-service/src/tools/generate-html/output
foundation.hbs
to avoid adding heavy CSS preprocessor/pipeline to handle everything. We are using Juice to inline the styles within the HTML, not because we like inline CSS, but because emails.