News for hackers. Stuff that matters.
Re:Show HN: Mail Studio – IDE for designing responsive emails by patrickserrano on Thursday April 01, 2021 @10:24AM (#26660845)
Any chance you could share some more details around how you integrated mustache with MJML? I did a project almost 3 years ago now where we used MJML and Handlebars, but I was never happy with the end result and have been thinking about going back and taking another stab.

Did MJML add any support for templating engines as part of the rendering process? That didn't seem to be an option when I did the original process so we had a 2 pass solution (MJML -> HTML w/Handlebars -> HTML).

Re:Show HN: Mail Studio – IDE for designing responsive emails by cies on Thursday April 01, 2021 @12:31PM (#26662701)
The solution we have is quite complex, as it also includes a builder where client can drag-drop blocks to create template (with text variables) for mailings.

Mustache is used for color/font substitutions and also for text variable (like $recipient_name) substitutions.

So: JSON representation of an email -> HTML+Mustache -> HTML+Mustache (only variables) -> HTML

For (live during email building) previews we skip the last step and show the Mustache syntax.

Re:Show HN: Mail Studio – IDE for designing responsive emails by crixlet on Thursday April 01, 2021 @01:45PM (#26663772)
which builder are you using? i hav ea similar mjml + mustache setup, and am using blocksedit.com for client drag/drop. would love to see your setup!
Re:Show HN: Mail Studio – IDE for designing responsive emails by cies on Thursday April 01, 2021 @03:09PM (#26664767)
In house developed builder in Reacts + Typescipt + JSON schema, we buildt is to be part of our SaaS offering to our clients.
Re:Show HN: Mail Studio – IDE for designing responsive emails by patrickserrano on Wednesday April 07, 2021 @07:48PM (#26733146)
I haven't seen blockedits.com before, it looks really cool. What are your thoughts on it? Is it worth taking a deeper look at or would you choose something else if you were starting from scratch?