Update email templates to use default email modules
When building email templates, HubSpot provides a set of default email modules to get you started. These modules are similar to default web modules, but are split up to enable HubSpot to release updates to these modules for better email client support, while also releasing updates to the web versions of the modules separately. Existing email templates using the web modules will still function, but you'll need to update your email templates to use these new modules for forwards compatibility and to avoid errors in the design manager and CLI.
The following are the new email-specific modules that should replace existing usage of the web default modules:
- email_cta (replaces
- email_header (replaces
- email_linked_image (replaces
- email_logo (replaces
- email_post_filter (replaces
- email_post_listing (replaces
- email_section_header (replaces
- email_social_sharing (replaces
- email_text (replaces
Below, read more about the new email modules and how to update your email templates to use them.
To update an email template to use the new default email modules, you'll need to update either the module path or ID. All email module paths are prepended by
email_, and all email modules have been assigned a new ID. You can review the section below for a full list of new module paths and IDs.
Below is an example of updating an email template to use the new email logo module, either by referencing its new path or ID.
The following modules have been added for email templates. When reference these modules in your email templates, you can use either the module path or ID.
Thank you for your feedback, it means a lot to us.