Overview
The backend has two overlapping email concerns: backend/src/mail/ (1 file) and backend/src/email/ (2 files, and EmailModule is the one registered in app.module.ts). Dependencies include @sendgrid/mail, nodemailer, nodemailer-mjml, mjml, and handlebars — more than one templating and transport path.
Tasks
Acceptance Criteria
Notes for Contributors
Comment below to be assigned.
Overview
The backend has two overlapping email concerns:
backend/src/mail/(1 file) andbackend/src/email/(2 files, andEmailModuleis the one registered inapp.module.ts). Dependencies include@sendgrid/mail,nodemailer,nodemailer-mjml,mjml, andhandlebars— more than one templating and transport path.Tasks
email/, already registered) and one transport strategy; document why.mail/and delete the directory.EmailServiceinterface:send({ to, template, context }), with a dev transport that writes to disk/console instead of sending.package.json.Acceptance Criteria
package.json.Notes for Contributors
Comment below to be assigned.