Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Closes #435] Support templated HTML and text emails #470

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

francisli
Copy link
Contributor

@francisli francisli commented Nov 21, 2024

Screenshot 2024-11-20 at 8 36 04 PM Screenshot 2024-11-20 at 8 35 54 PM

@francisli francisli requested a review from a team November 21, 2024 04:35
@francisli
Copy link
Contributor Author

I've added email-templates to support generating emails from separate code templates, and ejs (embedded javascript) as the template engine. I've replaced the hard-coded para invite HTML email with both HTML and plain-text versions, so that a multipart email is sent with both.

Copy link
Contributor

@canjalal canjalal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

src/backend/emails/_footer.html.ejs Show resolved Hide resolved
src/backend/lib/db_helpers/case_manager.ts Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants