EmailPreview type
A template rendered as a send would render it.
Fields
language
String!
The language the template was rendered in.
variantLanguage
String
The language of the variant used. Null for the all-languages variant.
subject
String!
The rendered subject.
html
String!
The rendered HTML. Paid for by the preview's cost of 10.
text
String!
The rendered plain text.
sampleData
Boolean!
Whether the template read fixed sample data, because no resource was given.
sender
The sender the preview rendered sender.* with: the From a send would carry. Null when no
sender is set up yet.
attachments
The attachments a send would add by the template's default. Priced as 2 attachments, however many it holds.
Costs 2 points plus 2 × one attachment's selection.
warnings
The problems found while rendering. Priced as 5 warnings, however many it holds.
Costs 5 points plus 5 × one warning's selection.
Used by
previewEmailTemplate(query)