How can I optimize my email for mobile devices?

Last updated: January 5, 2017

Available For:

Marketing: Basic, Pro, Enterprise
Sales: N/A

Learn how to use optimize your HubSpot email for mobile devices.




Use a responsive email template

All of HubSpot's drag-and-drop email templates are responsive by default, meaning that your content will adjust to fit the screen it is being viewed on. If you are creating a custom-coded email template, be sure to take advantage of our responsive email template markup here.

It is also possible to purchase a responsive email template from our Template Marketplace.


Use inline styling to set a max-width for your images

Including content that has a fixed-width that is larger than the screen it is being viewed on can cause your email to stretch horizontally, leading to a poor user experience.

Avoid your users having to to scroll left and right on your email by setting a max-width on your images. 

For example, within your source code, replace XX below with your desired percentage to set a maximum width for your image: 

<img style="max-width: XX%; max-height: auto;" src="YOUR IMAGE SOURCE.JPG"/> 

For more email design best practices, take a look here.


Reduce image file sizes

In most cases, download speeds on mobile devices are slower than on desktop. Use smaller image files to decrease your email load time. HubSpot automatically compresses your images, as long as a width attribute is included on the <img> tag in the HTML of the page. You can learn more about automatic image resizing here. Services such as FastStone Photo Resizer and JPEGmini can also reduce file size by as much as 80% without reducing the quality of your image.


Increase the size of links and CTA buttons

To ensure your users are able to accurately click on your content on mobile, make sure any text links and CTA buttons are taller and wider than 57x57 pixels. Read more on the HubSpot blog here.


Preview your email on mobile devices

Before sending your email to your lists, you can preview what it will look like across different clients and devices.

Within the HubSpot email editor, click the Checkmark in the left-hand side to test your email in other email clients. Select the desired email clients within the Mobile section > and click Test my email now to generate previews of what your email will look like when opened in those clients.

You can also use the device preview tool by clicking the preview (Eyeball) icon on the left-hand side to quickly see what your email will look like on a desktop, tablet, or mobile phone.