- For devs
Designing HTML Email Templates For Transactional Emails
This article was written and contributed by Rod Ussing at Lookahead.io.
Composing good email is important but making sure it successfully reaches your recipients is critical. So many well-intended messages end up in spam (60% in a recent analysis). We talked a lot about the relationship between reputation and deliverability in our last post. Let’s talk about how to get your email into recipients’ inboxes reliably.
Internet service providers are constantly deploying new techniques to prevent spammers from co-opting the web and crowding out legitimate consumers and business. It’s a delicate balance for them to block the bad actors and allow healthy online conversation to flourish.
As a legitimate sender of mass email, you are part of that balance and there are steps you can take to make sure that your carefully crafted message actually makes it to your customers’ inbox.
Using best practices in email management is very important to your online business. Aside from the obvious benefit of maximizing the receipt of your message, following best practices will help protect your most valuable asset – your online reputation.
To maximize the benefit of a mass email project, make your email a concise, well-crafted communication that addresses the recipient by name (e.g. using recipient variables) and has the purpose of clearly and effectively conveying an idea or describing a product as accurately as possible.
If you invest time in this process, you will not only get your message across to the reader, but you will also avoid some of the obvious red flags that will get your email designated as spam.
Typical elements of poor composition such as misspelled words, excessive use of caps and large fonts, odd spacing, repetitive use of exclamation marks and promotional leads such as “free” and “buy now” are precisely the type of things that will get your mail sent straight to the junk folder and risk getting your domain blocklisted.
If you’re sending an HTML email, it’s important to include a text-only version of the content for recipients without modern email clients. This is important not only from a common sense standpoint, but it has a lot to do with whether your email gets to the recipient or is diverted as spam.
Furthermore, spammers tend to have a high ratio of HTML to text as they often favor images and frequently embed their text in an image. Spam filters are designed to filter email that contains excessive amounts of image code.
To strengthen the appearance and readability of your email on a variety of platforms and devices, consider using a third-party template. You can find open source templates such as these offered by Mailgun or Sendwithus or purchase them at sites such as ThemeForest. A well-designed template will save you a lot of time, making it easy to achieve detailed personalization while providing consistency in appearance and clean rendering over a wide range of email clients and apps. Coding responsive HTML for email is hard, leave it to the experts.
Spammers often use address spoofing, and other obfuscation techniques to disguise the origin of their wares. Good anti-spam software is always on the lookout for bogus domains, truncated addresses, and questionable return paths. Make sure the from field, return path and message ID domains match the domain you are sending from and consider using a verified domain. If there are inconsistencies in your return path your email will likely be labeled as spam. It is also important to authenticate your email. Failure to authenticate using commonly accepted methods such as SPF, DKIM, and DMARC may result in your mail ending up in a spam filter.
Use unsubscribe links and feature them prominently. Spammers frequently use hard to see or fraudulent unsubscribe links. If your links are not prominently displayed and functional, this will decrease the credibility of your business and may get your email filtered. Monitor your unsubscribe link activity and remove those who wish to opt out of your mailing list. If you are responsive to such requests, it is more likely that recipients will click the unsubscribe button rather than report your mail as spam.
You can also add the extra step of “double opt-in”. Double opt-in is a process where after someone has filled out the signup form on your site, an email is sent to them in which they must confirm that they really want to be on your mailing list. This will add legitimacy to your business and show your customers that you respect their wishes.
Successful mass emailing is more than just “fire and forget”. You should constantly be monitoring email patterns such as bounce, open and click-through rates so you can fine-tune your email and maintain good housekeeping in your distribution lists. High open and click rates will improve your standing with providers, so make sure you drop inactive email addresses from your list. There are a number of online services that may be helpful with this process by providing easy to understand stats on your mailing.
Monitor your email score. As with personal credit, your email score makes a big difference to who will do business with you, it is your reputation. A poor or nonexistent email track record may result in a poor sender score which could cause your email to be filtered. Sender scores range from 0 to 100 with scores under 70 typically ending up in spam folders. Keep in mind if your volume is low (under 5000) it may be advantageous to share an IP address as this can improve your score due to the overall higher volume coming from the shared IP address. You can monitor your reputation score with tools, such as MX Toolbox or Sender Score.
Note: If you’re sharing an IP address, be vigilant. Make sure your ISP has a robust spam monitoring system in place, otherwise you may find your IP address blocklisted due to the actions of others. Unless it’s necessary to share for economical reasons, use a private IP address.
Be on the lookout for sudden spikes in bounce rates, and routinely send test emails to your own account to check for problems. High bounce rates should be addressed immediately.
If ISP spam filters identify this as a pattern, email from your domain will be filtered. You can also get caught up in the actions of others. You never know when a spammer might start using an IP address that is close to yours. Providers sometimes filter whole blocks of IP addresses on both sides of the ones used by a spammer and if yours happens to be in this range you may find your IP address blocklisted.
A/B testing is another important tool to ensure that your mail gets read. It consists of creating several different versions of your email with different variables such as subject line, headings, content, from name and send time. The response received from these sample emails will help you select the most effective version of email. A/B testing is quite complicated and time-consuming to set up yourself, thankfully there are subscription-based services such as Sendwithus that will do the heavy lifting for you. Or, you can do this programmatically with Mailgun.
Although it may be tempting to load your email with links to all kinds of great info and products, don’t. A high link to text ratio is a major indicator of spam. Also, watch out for those URL shorteners, they will likely get your message flagged. Remember your email will is completely ineffective in customers’ junk mail folder.
If you have a great product or service, mass email can be a valuable tool in getting your message to the customer. A well-crafted email with clear concise language and the right amount of graphics will make your product stand out and give your customers a reason to keep reading. Add to this good email management. Your efforts will not be wasted and your customers will always be well informed.
As described above, Mailgun helps your team increase delivery rates to your customers’ inboxes with its well documented, easy to learn API. To learn more, visit our managed services page, or feel free to contact us.
Learn about our Deliverability Services
Looking to send a high volume of emails? Our email experts can supercharge your email performance. See how we've helped companies like Lyft, Shopify, Github increase their email delivery rates to an average of 97%.
Last updated on February 22, 2022
Designing HTML Email Templates For Transactional Emails
Meet Our Amazing Pathwire Mavericks!
International Women’s Day: How Pathwire’s Female Leaders Choose To Challenge
Mailpets: For The Love Of Animals
The Mailgun Maverick Program Is Here!
Force for Change: It's Time to Speak Out
Understanding DKIM: How It Works and Why It's Necessary
HTTP Crash Course
Domain Warmup and Reputation: Stretch Before You Send
No-Reply Emails: The Brick Wall Of Email Communication
InboxReady x Salesforce: The Key to a Stronger Email Deliverability
Become an Email Pro With Our Templates API
Google Postmaster Tools: Understanding Sender Reputation
Navigating Your Career as a Woman in Tech
Implementing Dmarc – A Step-by-Step Guide
Email Bounces: What To Do About Them
Announcing InboxReady: The deliverability suite you need to hit the inbox
Black History Month in Tech: 7 Visionaries Who Shaped The Future
How To Create a Successful Triggered Email Program
Designing HTML Email Templates For Transactional Emails
InboxReady x Salesforce: The Key to a Stronger Email Deliverability
Implementing Dmarc – A Step-by-Step Guide
Announcing InboxReady: The deliverability suite you need to hit the inbox
Designing HTML Email Templates For Transactional Emails
Email Security Best Practices: How To Keep Your Email Program Safe
Mailgun’s Active Defense Against Log4j
Email Blasts: The Dos And Many Don’ts Of Mass Email Sending
Email's Best of 2021
5 Ideas For Better Developer-Designer Collaboration
Mailgun Joins Sinch: The Future of Customer Communications Is Here
Always be in the know and grab free email resources!
By sending this form, I agree that Mailgun may contact me and process my data in accordance with its Privacy Policy.