Can we download the HTML file for each of our email templates?
Problem Statement
This article explains how to obtain the HTML for Chargebee email templates.
Solution
- Open the template in the editor.
- Send a test email.
- Open the test email in your mail client and view the raw/HTML source to get the base HTML.
Custom templates
- Styling is shared across Chargebee emails; only the text differs by template.
- Chargebee strips certain tags from custom HTML in the editor. Use inline CSS for custom templates.
- You can use an online CSS inliner such as htmlemail.io/inline or Mailchimp inline CSS to make custom templates compatible with the editor.