Inconsistent mailer config
Different components expect different mailer configuration structures.
Namely:
-
PasswordReset-server
expectsmailer.transport
-
SendEmail-server
expectsmailer.path.transport
That creates messy config files to make both work.
As a side note, why are we using path
in the first place?
We could just use transport
and let mailer.js
directly export the transport (instead of { transport: <the transport> }
).