Email Development
Not everyone is blessed with the skill of coding. The typical digital marketer may have limited knowledge of HTML and CSS, not mention the differences between web and email development. So, what happens to non-developers when you need to touch the code in an HTML email and looking at it makes your eyes cross?
Code generators can help solve the problem. And the truth is, a lot of email developers use tools to help them get the mundane, tedious tasks of coding HTML emails done faster.
In this article, we’ll introduce you to some online tools that generate email-ready code you can use in your campaigns. That includes:
If you’ve been in the email game for any amount of time, you know how hard it is to code HTML emails to display well on every device and email client. For instance, an email template that works in Gmail might not display correctly in Microsoft Outlook or vice versa.
But what’s difficult about coding HTML emails? Glad you asked. Here are some pain points in using HTML for email:
HTML emails are eye-catching, but they come with quite a few pain points. Code generators for email development can help you with some of the trickier tasks and basic elements of email.
Code generators help you quickly create code snippets of HTML and CSS for common email development tasks. Here are some reasons why you should use a code generator – even if you’re an email developer:
Let’s dive into some common HTML code snippets and what free code generators we can use for each:
Let’s dig into each of these.
Colored backgrounds make your emails pop in a sea of boring black-and-white plaintext emails. But there’s a catch: They’re not easy to code. After all, bulletproof backgrounds are HTML/CSS backgrounds that use a combination of a traditional background image combined with some Vector Markup Language (VML) to create backgrounds to display properly regardless of your subscriber’s email client.
How to code a bulletproof background is a lesson for another day, but if you want to shorten the process, try using an email background generator tool like this one:
To use this tool:
This is background code generator a popular solution for email geeks. Not only can you create a background for the entire email, you can also generate background code for single table cell.
Bulletproof buttons are a great way to make calls-to-action that are accessible, supported by all email clients, and stand out. If you’re interested in coding email buttons from scratch, check out our tutorial. If you want to hit the ground running, we recommend this bulletproof button code generator:
To use this tool:
Buttons and backgrounds are important, but layouts are the backbones of emails, How many columns will your email have? Do they expand or collapse to fit mobile devices? Will you have different layouts for different sections?
Check out our resources for responsive email templates if you want to take on the challenge of coding your own layout. Otherwise, check out Julie Ng’s Email Layout Calculator to generate HTML and CSS code snippets for responsive email grids and layouts:
To use this tool, simply follow Julie Ng’s directions. Note that the tool uses a “Gmail first” approach to responsiveness.
While you don’t have to use media queries to build a responsive email, it’s one of the most popular methods among email coders. If you want to make sure you’re focusing the right breakpoints or need to target a specific device, SimpleCCS.eu offers a way to quickly generate a lot of different media queries.
To use this media query code generator:
This tool may be missing media queries for more modern devices such as Google Pixels and newer iPhones. But you can count on previews from Sinch Email on Acid to help you make sure your emails look great on the latest from Android and iOS.
Mailto links are a great addition to your emails because they open pre-populated reply emails in your reader’s default email client. More importantly, they direct incoming email traffic from your customers to the right recipients in your business. If you’d like to code your mailto links from scratch, check out our mailto link tutorial. Or you can check out Parcel’s mailto generator:
Parcel’s no-frills mailto generator is simple to use:
For instance, a sample copied link might look like this:
mailto:joansmith@emailonacid.com?subject=Query%3A%20Email%20testing%20tools&body=I'd%20like%20to%20know%20more%20about...
By itself, this doesn’t do anything, really. Let’s say we want the display text to be “Get in touch!” We’ll do this by passing the above code to the href attribute of an HTML <a> tag:
<a href="mailto:joansmith@emailonacid.com?subject=Query%3A%20Email%20testing%20tools&body=I'd%20like%20to%20know%20more%20about...">Get in touch!</a>
Just copy-paste this into your email, and you’re good to go!
Parcel also has a calendar link code generator, which is useful for emails promoting webinars and events as well as onboarding or sales emails in which recipients may need to add a meeting to their calendars.
Okay, this one isn’t quite as glamorous as the other features we’ve covered above: character encoding. When you create emails, it’s not always as simple as copy-pasting your email content into your email template. You’ll need to encode certain special characters.
Check out Email on Acid’s character converter, which generates code snippets for all your special character needs. Sometimes, it’s the little stuff that makes or breaks your email:
To use our tool:
And that’s it! Just embed the code wherever you want. If you need some help starting, click on the “Example Text” link to give it a try.
With a code generator, HTML email coding becomes a little bit less stressful. If you’re interested in other ways to streamline your email development, check out our list of the best email development tools. If you want to try out a low-code solution, check out Sinch Mailjet’s drag-and-drop Email Editor. Learn how email template builders smooth out the kinks in your email development workflow.
But wait – before you send out your latest campaign through your email service provider (ESP), don’t forget to test! Preview how your code snippets will look in 100+ email clients and live devices with Email on Acid’s testing tools. Why leave perfection up to chance?