Creates a new email (draft by default). A new email renders a Page: set `page_id` to the id of the page it should render. Recipient emails with typo-looking domains (e.g. gmial.com) are stripped before persistence.
AuthorizationRequiredBearer <token>API key as Bearer token
In: header
application/jsonRequiredsubjectstringThe email subject.
recipient_emailsarray<string>Recipient email addresses. Note that if sync_event_recipients is true,
this will not include event attendees until send time.
recipient_phonenumbersarray<string>Unused.
event_refsarray<string>IDs of events whose attendees will be added to the recipients at send time.
timeslot_refsarray<string>IDs of multi-day event timeslots whose attendees will be added to the recipients at send time.
segment_refsarray<string>IDs of segments whose members will be added to the recipients at send time, with each member's segment columns available as smart values (mail merge). The composer currently imports a single segment.
footer_imagestringURL of the image shown in the email footer.
reply_to_emailstringReply-to address. Falls back to a system address when unset.
display_namestringSender label shown on the "From" line.
page_idstringID of the Page this email renders.
sync_event_recipientsbooleanIf true, scheduled sends re-sync recipients from the linked events at send time.
attachmentsarray<object>File attachments included with the email.
activity_synced_atnumberEpoch ms when the activity feed was last synced from Sparkpost + orders.