I also like to eventually add the ability to programmatically generate email from injected variables and pre-built “lego” building blocks of MJML. The last major feature completed was a preview feature to view the email before sending built with React portals the client can assemble the email and view a real-time preview in a different tab. There are a number a features I’d still like to add to this project. Metrics like raw text to HTML percentage and image to text ratio are important and can negatively affect how your email is classified to automated filters. This is a crucial step and taught me a lot about Apache SpamAssassin and how modern filters classify emails as spam or not. I use Mail Tester to evaluate my emails to ensure they evade spam filters. My required throughput was well below the 60,000 free emails sent per month and AWS SES can churn through batches of emails to be sent (at least at my small scale) instantaneously. AWS SES has its own templating service but this free open-source tool worked well for me and has a simple-to-learn API.ĪWS SES was the clear choice for the email sending service. I used Mustache to inject variables into the transpiled HTML to personalize content to each recipient. This allowed me to write modular blocks of markup and not worry about 700+ lines of HTML and CSS required for each template to ensure a responsive experience for the end recipient. In order to create a rich, responsive HTML email I used MJML and transpiled it to responsive HTML. There were a number of technical challenges I had to address to build this application. AWS EC2 - The secure and resizable compute capacity in the cloud.AWS SES - The flexible and highly-scalable email sending and receiving platform. Docker - The package/container management.SuperTest - The http integration testing.MJML - The framework that makes responsive email easy.Mustache - The logic-less template system.Firebase - The OAuth and cloud Firestore database.An example templated email sent with dotmail.tech Tech stack
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |