##A resource for rendering and sending transactional emails with Svelte
Transaction is a resource for learning how to render Svelte components as email friendly markup on the server along with best practices and integrations with the top email sending clients.
The goal of this project is not to provide an opaque library for rendering emails but to provide a resource for learning how to render emails with Svelte and send them with the top email sending clients.
Along with tutorials on how to render emails with Svelte, this project will also provide a collection of ready to use Svelte templates for common transactional emails based on Postmark Transactional Email Templates.
The templates we use will feature their styles not inlined but in their <style>
tag for ease of
maintenance and readability. We will programatically inline their styles before sending them with
the email sending clients.
These are all sourced from the Postmark Transactional Email Templates and used under the MIT license.
Each template comes in three different generic layout variations: Basic, Basic full, and Plain. This gives you a starting point so that you can customize your templates to match your brand.
Send a welcome email to users after they sign up.
Send users a link to reset their password.
Help users reset their password if they canβt remember their email.
Send a receipt to users after they made a purchase.
Request payment from a user.
Let users know about a failed payment
Notify users of new comments by other users.
Note: Comment notification isn't the prettiest preview because it's just Mustachio. Since almost all content in this email is dynamic, it won't look good without real content. Don't worry though, that's how it's supposed to look.
Let users know when their trial is about to expire.
Let users know when their expired trial.
Help users invite others to use your software.
We've also made sure that these have been tested for consistency in the following email clients: