Skip to content

How to export an email as JSON

This article shows you how to export an email as JSON.

A JSON export is one file that contains each locale’s HTML, plain text version, subject line and preheader. It’s useful when you want to load emails into your own systems. To send an email straight to your ESP instead, see How to export an email to your ESP.

The email must be published. See How to publish an email.

  1. Open the email in the editor.
  2. In the top-right corner, click Export.
  3. Under File, select JSON.
  4. In Locales, select the locales to export.
  5. Choose any other options you need:
    • Dynamic Content Profile: the dynamic content profile to export with, so personalization tags and conditionals use your ESP’s syntax.
    • Image hosting: where images from the image library are hosted. Images you added by URL aren’t changed.
      • Use The EmailShepherd CDN: the email links to images hosted by EmailShepherd.
      • Use a CDN Connector: the images are uploaded to your own CDN, and the email links to them there. Then, in CDN Connector, select the connector. You need a CDN connector set up first.
    • Minify HTML: makes the exported HTML smaller. See How to minify exported HTML.
    • Inline CSS: applies CSS from style blocks to individual elements. See How to inline CSS in exports.
  6. Click Start export.

Exporting an email as JSON

The export takes a few seconds. When it’s complete, click Download JSON.

A completed JSON export

To find the export again later, click Exports in the sidebar.