Send Draft Emails ​
Endpoint ​
POST /unified/emails/emails/send-draftIntegrations supported
- Outlook Mail
Query parameters ​
Refer Specifying query parameters in Truto APIs
The ID of the integrated account to use for the request.
62f44730-dd91-461e-bd6a-aedd9e0ad79dThe format of the response.
- unifiedreturns the response with unified mappings applied.
- rawreturns the unprocessed, raw response from the remote API.
- normalizedapplies the unified mappings and returns the data in a normalized format.
- streamreturns the response as a stream, which is ideal for transmitting large datasets, files, or binary data. Using streaming mode helps to efficiently handle large payloads or real-time data flows without requiring the entire data to be buffered in memory.
Defaults to unified.
- unified
- raw
- normalized
- stream
unifiedExcludes the remote_data attribute from the response.
Array of fields to exclude from the response.
truto_exclude_fields[]=id&truto_exclude_fields[]=nameQuery parameters to pass to the underlying API without any transformations. Refer this guide to see how to structure the query parameters.
remote_query[foo]=barThe unique identifier of the draft email you are sending.
Required in
- Outlook Mail
Request Body ​
Refer Writing data using Unified APIsAny additional data that should be passed as part of the request body. This data is not transformed by Truto and is passed as is to the remote API.
Response Body ​
The unique identifier for the email
Supported in
- Outlook Mail
Sender email address
Recipient email addresses
CC email addresses
BCC email addresses
Email subject
Content type of the email
- plain_text
- html
The body of the email in the selected format
Custom headers for the email
Reply-to email address
Priority of the email
- high
- normal
- low
The folder where the email is stored
The unique identifier for a folder
Indicates whether the email is saved as a draft (created but not sent yet). If true, the email is still edited or waiting to be sent
- true
- false
The attachments of the email
The unique identifier for the attachment
The attachment's name
The URL to download the attachment
The content type of the attachment
The time when the attachment was created
The email's urls
The email's URL
The email's URL type
The date and time the email was created
The date and time the email was last updated
The date and time the email was sent
Raw data returned from the remote API call.