Crafting visually appealing and engaging emails requires attention to detail, particularly when it comes to managing file sizes.
Email clients and various platforms have different restrictions on file size, and exceeding these limits can result in delivery issues, slow load times, or even emails getting blocked.
What does Ometria do to keep the email file size down?
Ometria's Creative Team is always looking for ways to improve the code in the email templates, not just for new functionality, but to keep the code as light as possible.
The way HTML code is structured and formatted plays a significant role in determining email file size.
Minimising the unnecessary spaces, line breaks, and comments can effectively reduce file size.
We have recently introduced a new coding framework that has significantly reduced the amount of code.
What can I do to reduce the file size of my emails?
Get your code updated
If your email template was built before December 2022 you are likely to be using the old coding framework.
If you’re interested in having a lighter coding framework to reduce the file size of your templates, please speak to your Customer Success Representative.
It’s also a good excuse to freshen up the design of your emails!
Test your emails
Thoroughly test email designs across different email clients and devices to make sure your templates are compatible and to optimise file size.
Consider using tools or services that provide insights into file size and potential optimisation opportunities.
Why should I worry about the file size of my emails?
Many email clients and servers impose limits on the size of incoming emails.
If your email exceeds these limits, it could be rejected or blocked, resulting in non-delivery or bounces.
Large email file sizes can trigger spam filters, leading to your email being flagged as spam or ending up in the recipients' spam or junk folders.
Gmail clips long emails that exceed 102KB to improve readability, allow for faster loading and conserve bandwidth.
This means that part of your email might not be visible to the recipient and there's a risk that the layout of your email will break.
Slow load times
Emails with large file sizes take longer to load, especially for recipients with slow internet connections or using mobile devices.
Large email file sizes can consume significant amounts of mobile data, potentially leading to higher costs for recipients.
It can also be challenging to read and navigate emails with excessive content on smaller screens.
Large email file sizes put a strain on bandwidth, both for the sender and the recipient.
For the sender, it can increase the time and resources required to send the email, especially when dealing with broadcast campaigns.
Do images increase the email file size?
No, this is a common misconception.
Images are not embedded within the email itself but are hosted externally.
The email client retrieves the images from the specified URL when rendering the email, so the image files don't contribute to the actual file size of the email.
It is still important to optimise your images, as they affect the download speed of the email, and use up customers' data.
See also: Image optimisation for email
Does using custom fonts affect email file size?
Like images, font files are not embedded within the email but are hosted externally.
It's still important to be aware that using web fonts can introduce additional HTTP requests when the email is loaded, which may impact the overall load time of the email.
See also: Can I use custom fonts?
Does the amount of text in the email increase the file size?
Yes, the text in an email contributes to its file size, but the impact is negligible compared to other elements, e.g. images, multimedia, or excessive HTML code.
Text is stored as plain text within the HTML markup of the email.
The file size increase due to the text content is usually minimal unless the email contains an extremely large amount of text.
If you have a long email with a substantial amount of text, it can indirectly affect the email's file size in terms of the overall size of the HTML markup.
This is because the HTML tags and structure used to format and present the text can contribute to the overall file size.