forwardemail / email-templates

Create, preview (browser/iOS Simulator), and send custom email templates for Node.js. Made for @forwardemail, @ladjs, @cabinjs, @spamscanner, and @breejs.
https://forwardemail.net/docs/send-emails-with-node-js-javascript
MIT License
3.64k stars 339 forks source link

[feat] - AWS s3 as a source for template files #448

Closed rathourarv closed 11 months ago

rathourarv commented 11 months ago

We plan to send emails using AWS lambda and deploy it using a single bundled file. Currently, we plan to add email templates manually to the lambda package but It would be great if it could directly read the files from s3.

This would be helpful when templates change frequently compare to the changes in the logic.

I see someone started the conversation but it was never been prioritised.

titanism commented 11 months ago

PR with either a feature or docs update with guide is more than welcome 🙏

rathourarv commented 11 months ago

I have created a basic prototype for fetching email templates from S3. Please let me know what you think about the approach.

https://github.com/rathourarv/email-templates-proto

@titanism I can raise a PR after it.