How Knak Does Email: Advantages of an open source framework

  • Tania Blake

    Tania Blake

Published Jan 14, 2021

How Knak Does Email: Advantages of an open source framework


Learn how Knak leverages the MJML open-source framework for responsive, error-free email design, enhancing functionality and ease of use.

We started using an open source framework called MJML just over a year ago, and it’s been a match made in code heaven.

MJML makes it easy to code responsive emails, which means that the emails Knak users create are fully responsive and look incredible no matter where they’re being read.

When we first wrote about it last year, we mentioned that we were initially drawn to the open-source format and the fact that it’s component-based. Now, we like it even more, and here’s why:

The Codebase is Just So Good

The MJML codebase is open-source, which from our perspective can’t be beat. While HTML for the web is fairly standard, HTML for email is not, which means that without something like MJML, everyone has to develop the right code on their own. It’s time consuming and extremely error prone.

But with an open-source format, everyone works together to make the framework better. MJML currently has contributions from more than 80 developers, so it’s simple to make adjustments when email clients release new versions.

In fact, the framework around MJML is so strong that in the 12+ months that we’ve been using it, we’ve only needed one update. It’s top-notch, and it’s such an improvement over individual developers maintaining their own codebase.

“We’ve only had to make one change to the core codebase so far, and it was a small fix to make sure that non-stacking columns worked in Gmail.” says Jack Steele, Developer and Email Specialist at Knak.

“That’s really remarkable, because we’ve used MJML to create literally tens of thousands of emails. The code base is so extendable that we can build our own customizations from their starting point.”

It’s Easy to Learn

We had a new email developer join the team recently, and she was not familiar with the MJML platform. But within a few weeks, she’s gotten comfortable with it, and so far, she likes what she sees.

“I’m blown away by its capabilities,” Shyley says. “I came to Knak from a digital marketing agency where I coded HTML emails completely from scratch. It was an extremely long process for me as a developer and for the QA team as well.

“The MJML framework has bulletproof buttons and seamless padding and background image capabilities, which really eliminate the possibility of human error.

“Even when integrating background positions – something that’s usually really tricky – it wasn’t difficult to get it up and running. I’m very impressed all around, and I hope I never have to go back to coding emails by hand!”

It’s Improved Email Functionality

We’ve been using MJML to support components like Section, Column, Image, Divider, etc for all major email clients. We’ve also put some Knak-specific components in place that help our clients create very progressive emails.

And recently, we’ve added quite a bit of functionality, especially when it comes to background images. This includes background image support in Outlook, where users now have the ability to align background images vertically and horizontally.

Share this article

  • Tania Blake


    Tania Blake


Why marketing teams love Knak

  • 95%better, faster campaigns = more success

  • 22 minutesto create an email*

  • 5x lessthan the cost of a developer

  • 50x lessthan the cost of an agency**

* On average, for enterprise customers

** Knak base price

Ready to see Knak in action?

Get a demo and discover how visionary marketers use Knak to speed up their campaign creation.

Watch a Demo