Register

User name

Digital Doughnut is part of Communitize Ltd. We would like to contact you with details of other offers we provide. If you consent to us contacting you for this purpose please tick to say how you would like us to contact you:Email:

Article

Coding Responsive HTML Emails After the Gmail Update

Gmail will soon extend their CSS support, which should mean that responsive emails will work like a charm. We are super excited about the news, but cautious as well. We decided to test all different responsive email coding approaches thoroughly, to see how they will work in the new Gmail and Inbox. This article is continuously being updated!

On August 31, 2016, a huge thing happened. Gmail started to support display:none; in email. The email community blew up. Everybody was tweeting about it and a lot of email developers started to play around with it.

Although it was very exciting news from Google, even bigger news happened on September 14, 2016. Google hasannouncedthat they will expand their CSS support, which means that they will support the style tag in the head of the email HTML. They are going to support manyCSS propertiesbut most importantly they will also support media queries.

is the biggest news in email marketing and email design in the last decade.

Litmus, Email on Acid, Eliot Rossand many others have written great articles about it. They are focusing on the possibilities, the long and short term effects of this major update, and questioning the unknown things.

Oneof my favorite tweets on this topic is from Nicole Merlin, a well known email design and development expert from Australia:

Here are other EmailGeeksreactions as well:

As you can see email developers have huge expectations for the update, in the hopes that it will rewrite the rules of email coding.

Just like anyone else on this field, our team at – EDMdesigner– wanted to see it in real life already. We wanted to play around with it and we wanted to test every single detail to find the caveats and to rewire our brains to embrace the possibilities of HTML email of the 21st century.

We were so EXCITED! We wanted to know the most crucial details as soon as possible.
This is why we took the example HTML from the official documentationand we crafted some basic test casesto see what’s really possible in the new (web and mobile) email clients of Google.
We also included the Litmus testsof other email clients upfront to gain a more complete picture of the HTML email of the future.

Our test based on the test HTML from the official developer documentation by Google.
During the test, our focus was on the most important CSS properties - the ones which can be used to create layouts.These properties are the following:

width, min-width, max-width

height, min-height, max-height

float

display

Together with media queries, we can adopt our design to different screen sizes.

As you can see, the results of the mobile first tests were much worse than the desktop first. (Again, we exclude Gmail from the investigation here because we assume that it will work nicely soon.) It’s because desktop email clients have been existing for a long, long time – much before media queries arose.

Hopefully, Litmus and Microsoft will make email better very, very soon. Until that, it might be an option to use a hybrid solution, where we use IE conditionals so only Outlooks will have to use the greatest invention of the 90’s.

Besides the basic examples, we created a more complex template in which we can show how much easier our lives and how much smaller our email HTMLs will be. We generated this email codes with our generator. (The notable thing is that templates generated with our generator are responsive already so you don’t have to worry about the Gmail update - they will adapt automatically.)

Conclusion

In the end, Gmail is a huge player on the market, so if we assume that Gmail (and all the other email clients from Google) will support media queries, that’s truly a game changer in this field.

We will be able to change a lot of things. We won’t have to necessarily inline every CSS property – which has a very good effect on the size of the email – although if you want to support legacy clients, that’s still a must. That’s the same for tables. Outlooks are the biggest friends of tables, and since those clients have huge share on the market, we will still need to use them in some way.

If your table based design is prepared for responsive techniques, then this change probably won’t cause you a lot of headaches, but of course it’s better to check. We are quite confident, that our generated HTMLs will render beautifully after Gmail starts to support the style tag, but of course we are testing continuously if the updates are out yet.

We are curiously waiting for the updates to happen to check out everything as soon as possible. There are some questions which are still poking at the back of our brains from time to time.

Will Gmail and Inbox work in the same way? What about Google Apps?
Will the updates come out at the same time? Will there be any time differences between the updates in different countries?
What about mobile clients? How fast will users update them? When will we be able to say that most users (90%+) use the new version already?

UPDATE 05/10/2016

Although the progress of the update is slow, we can be very happy because the features that we saw in the announcement are becoming true.

Gmail and Inbox are supporting the style already in the browser and there are promising results on modern Androdid devices as well.

Revealed: the most annoying things brands do according to consumers

CRM - Three mistakes to avoid

Author Profile

I believe that hard work, endurance, passion and adaptability will eventually bring success in life.
That's why I'm doing all my best to make EDMdesigner.com the most widely used, independent email editor on the globe.
I have been on a very exciting journey in the last 3 years personally and as a CEO as well. I went through tons of challenges, and I'm still learning every day. I used to call myself a problem solver... but I don't like the word "problem" anymore. There are challenges in life, not problems. Period.
We are on a great track with EDMdesigner.com with paying customers all over the globe, but there's still a long way to go, still we get there... but we are working on it every day, to make it happen. I'm confident that we will get there one day or another, thanks to my team, my friends, my supportive wife and beautiful child.

Digital Marketing Vs. Traditional Marketing: Which One Is Better?

Top 10 B2B Platforms to Help your Business Grow Worldwide

Although the trend of a Business to Business portal is not new but the evolution of technology has indeed changed the way they function. Additional digital trading features and branding has taken the place of...

7 reasons why social media marketing is important for your business

Social media is quickly becoming one of the most important aspects of digital marketing, which provides incredible benefits that help reach millions of customers worldwide. And if you are not applying this profitable...

Collection Of The Best Email Testing Tools Online

Don’t be afraid of email testing. There are many free or freemium tools online that can help you with testing your SPAM score, deliverability and even the rendering of your email. We feature 30 email testing tools in...