Closed arghyaiitb closed 1 year ago
@arghyaiitb I see your point, but the problem is that every email service provider uses a different templating language. For example:
Adding support for Handlebars, Mustachio, EJS, etc is simply not scalable at this point.
@arghyaiitb If you are using nest js, you can use this adapter to pass props
Emails are generally sent by the backend, and most developers would use some kind of template engine in node or use template feature of email service provider.
Since we are having a way to pass props to react emails, can we expand this to convert the props to be configured as an ejs template?