What else should you consider about the size of your email?
Taking care to create a message that will be successfully delivered to your recipients, you should also think of which folder it will go to, how quickly it will be delivered, and how happy your recipients will be.
Spam score
Avoiding spam filters and targeting the main folder of your recipient’s inbox is one of the trickiest things in email handling. You won’t find strict and ubiquitous criteria for spam detection. However, there is a list of common “anti-spam” rules, and the size-related points are at the top of it.
Technically, there is no message body limit in the SMTP protocol. Still, some providers have their own limits. For example, Postmark allows the HTML and text parts each to be 5 MB, while Gmail clips the body of messages over 102 KB.
Many tests by various providers prove the correlation between email size and deliverability. In most cases, messages with a body over 100 – 150 KB trigger spam filters. So, the common recommendation is to keep email body size between 15 KB and 100 KB.
Rendering issues
Another aspect of large emails is their loading and/or rendering speed. Your recipients do not always have access to a high-speed connection, and a long-lasting message loading process might cause irritation. In addition, in many email clients, a large email body might be rendered just partially, and your recipient will see just parts of images or clipped content. This might strongly harm your customer digital experience and leave a bad general impression.
Notwithstanding the numerous limitations and hidden constraints, there are common rules on building well-performing emails. The first of these is to decrease and optimize email body size.
What does affect the email size and how can you optimize it?
Each element of the message and the way it’s implemented impacts email size.
- Attachments. With attachments everything is straightforward. These are enclosed files and don’t affect the email body size. The total email limit usually includes all of the attachments. The best option is to upload files you need to transfer to the cloud and put a link into your message. Due to security issues, many file types are blocked or are considered dangerous (including .doc, .xls, and .pdf).
- Images and other embedded elements. Even simple notifications usually contain images, at least your company logo. Their size depends on the image format and the way the image is embedded into the message. We had a closer look at this topic in this article. In short, wherever possible, link to an image hosted on an external server (in the HTML, so it will be displayed as part of the message).
- Encoding. MIME-encoded (base64) messages add 33% to your email size. Keep this in mind when coding a multipart message.
- Other. Every single message element affects its general size. Message headers, signatures, formatting – all of these add extra kilobytes.
Rules of a perfect email
Considering the above mentioned limits and dependencies, we have created a short email size optimization checklist. Here are the best practices for building a well-performing email in terms of size:
- Keep the email body from 15 KB to 100 KB.
- Don’t add attachments over 10 MB. If possible – upload your files to the external server and make them available online/ for download using a link.
- Don’t overuse images, GIFs, and other multimedia content.
- Remember that almost 42% of emails are opened on mobile devices. Keep this in mind when creating email templates. They should be responsive. Using a responsive email framework or an email builder can save you nerves and kilobytes.
Check email size in Mailtrap before sending
Even if you followed all recommendations and have crafted the perfect message, checking its size is not an easy task. Whether you are coding a message in your app or preparing a template to send via Gmail, you need to use a third-party tool, actually send your message, or download it then to explore its size.
If you use Mailtrap for testing your emails before sending them to your real recipients, you can easily check both the email body and attachment size.