Hacker News new | ask | show | jobs
by cies 1911 days ago
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.

1 comments

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!
In house developed builder in Reacts + Typescipt + JSON schema, we buildt is to be part of our SaaS offering to our clients.
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?