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

Email Markup, Templating, and Formatting Tools #36

Open
toBeOfUse opened this issue Nov 28, 2023 · 0 comments
Open

Email Markup, Templating, and Formatting Tools #36

toBeOfUse opened this issue Nov 28, 2023 · 0 comments

Comments

@toBeOfUse
Copy link
Contributor

toBeOfUse commented Nov 28, 2023

This codebase currently contains one re-usable email (the "thanks for signing up for our emails" email); it is written in normal CSS and HTML, which then needs to be transformed somewhat so it works in email clients that generally support a subset of CSS and HTML. The transformed version is saved in a second email HTML file.

However, manually taking HTML and running it through a CSS inlining tool like I did is like, slow. We would be better off writing emails with something like mjml (an older, mature emailing markup language) or react-email (a newer, very popular set of React components that can be easily server-side rendered) or vue-email, so they can be automatically translated into email-compatible CSS and HTML. Using either of those last two would also give us templating abilities.

Template layouts with headers/footers/backgrounds could then be created and used for whatever emails are written in the email composer component by staff.

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

No branches or pull requests

1 participant