Download Email HTML

@AChilders sorry no. We already do something similar. My issue is that the code you export in any of these fashions have classes and extra divs and spans that the hubpot builder adds in to the html. When you take that HTML and then add it into another system that might add their own classes, divs, spans etc. you run the risk of the email breaking in multiple clients.

My request is to export clean HTML with markup from the original template and the new content filled in, removing all the extra tags and classes Hubspot adds into the code.

ie. Instead of this

<td valign="top" align="center" style="border-collapse:collapse; mso-line-height-rule:exactly; font-family:Arial, sans-serif; font-size:14px; line-height:1.5; color:#000000">
	<div id="hs_cos_wrapper_BodyCopy2" class="hs_cos_wrapper hs_cos_wrapper_widget hs_cos_wrapper_type_rich_text" style="color: inherit; font-size: inherit; line-height: inherit;" data-hs-cos-general-type="widget" data-hs-cos-type="rich_text">
		<p><span style="border-collapse:collapse; mso-line-height-rule:exactly; color:black">Your text here.</span></p>
	</div>
</td>

You’d get this

<td valign="top" align="center" style="border-collapse:collapse; mso-line-height-rule:exactly; font-family:Arial, sans-serif; font-size:14px; line-height:1.5; color:#000000">
	<p>Your text here.</p>
</td>