SentEmail
One email the token organisation sent. body_html and body_text appear only with include=body.
idrequiredstring (uuid)- The email id.
subjectrequiredstring | null- The subject line.
statusrequiredstring- Where the email is in sending.One of: queued, sending, sent, failed, suppressed, retry_scheduled
templaterequiredstring | null- The template the email was rendered from.
sender_emailrequiredstring | null- The address the email was sent from.
sender_namerequiredstring | null- The name the email was sent as.
source_typerequiredstring | null- What produced the email, such as invite, notification or deal_promotion.One of: distribution, invite, notification, deal_promotion, workflow, account, custom
source_labelrequiredstring | null- A label for what produced the email, such as the promotion name.
deal_idsrequiredstring (uuid)[]- The deals the email was about.
recipient_countrequiredinteger- How many recipients the email went to, including copied recipients.
opensrequiredinteger- How many times recipients opened the email, summed over every recipient.
clicksrequiredinteger- How many links recipients clicked, summed over every recipient.
sent_atrequiredstring | null (date-time)- When the email first went to a recipient. Null until then.
body_htmlstring | null- The rendered HTML body.
body_textstring | null- The plain text body.
created_atrequiredstring (date-time)- When the email was queued.
updated_atrequiredstring | null (date-time)- When the email last changed.