Skip to content

Commit

Permalink
[Closes #435] Support templated HTML and text emails (#470)
Browse files Browse the repository at this point in the history
* Add email-templates package

* Ran npm audit fix

* Add ejs

* Add email-templates types

* First pass, working email template

* Updated template

* Re-install new packages

* Fix type:check error

* Wait a bit for email sending

* Create a send wrapper that adds only specific env vars into the template

* Re-ran npm install

* Re-installed new pacakges
  • Loading branch information
francisli authored Jan 22, 2025
1 parent 78c3f95 commit 351e297
Show file tree
Hide file tree
Showing 15 changed files with 3,840 additions and 152 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ EMAIL_AUTH_PASS=
EMAIL_FROM=[email protected]
EMAIL_HOST=localhost
EMAIL_PORT=1025

BASE_URL=http://localhost:3000
Loading

0 comments on commit 351e297

Please sign in to comment.