DEV Community

Discussion on: How to send a email using Sendgrid and Node.js ?

Collapse
 
jamesvanderpump profile image
James Vanderpump

Nice intro Karthikeyan.
Next challenge is finding your optimal email template language so you can include a common header and footer. If you're using React you can simply use jsx/tsx files, reuse existing components and render the html output using ReactDomServer.renderToString() use (npm) juice to inline CSS from a .CSS file.

Collapse
 
imkarthikeyan profile image
Karthikeyan

Thanks james. Yep. I am working on a use-case scenario with proper email template and automating it with github actions. Blog on that is coming up soon.