

The template is based on Handlebards syntax and I use this online editor as it fits all my needs tryhandlebarsjs. You need to deliver the changes ASAP! 🔥.Long waiting time to get someone from the infrastructure to handle the setup.Missing permissions to manage some services like SNS.No access to that specific AWS environment.

But in reality, we face the following issues: In a perfect world, that is the optimal solution to debug the missing or the issues with some custom variables. If you follow the link from the quote, you will see that the first suggested solution is to set up Rendering Failure event notifications. If the template data contains non-compliant variables or is missing variables, then Amazon SES can’t deliver the email. When you use an email template, Amazon SES validates that the template data you send includes the variables that are required in the template. The main issue that I face during development is the Rendering Failure: If you feel lazy here is an online tool for that. The second part is about generating an HTML content from the MJML template, which can be easily done with the live editor.įinally, the last part where the HTML content is stringified to be uploaded to AWS email templates. At this stage, the template should include the Handlebars tags for the custom variables. It helps a lot when it comes to the template boilerplate. The first part is to prepare an MJML template, if you don’t know about this framework, I highly recommend reading about it from the official site. In this post, I’ll share how I deal with implementing email templates based on the Amazon SES service. I consider working with email templates a frustrating task and especially if you can’t debug the issues during implementation.
