Unitalk Microsoft Outlook icon

Unitalk Microsoft Outlook

Consume Microsoft Outlook API

Actions37

Draft → Get

AI-generated

Summary

Retrieve detailed information about a specific draft message in Microsoft Outlook by its draft ID, with options to control the detail and attachments included in the output.

Inputs

  • Draft ID (required) — Select the draft message either from a searchable list or by providing its unique ID.
  • Output (required) — Choose the output format: a simplified summary, the raw full data, or select specific included fields.
  • Fields — Specify which fields of the draft to include when 'Select Included Fields' output is chosen; options include recipients, body content, flags, categories, timestamps, subject, attachments presence, and more.
  • Options — Additional options such as downloading attachments and customizing the binary output field name prefix for attachments.

Output shape

a single record representing the draft message details

Output shape varies by the 'Output' option: 'Simplified' returns a condensed version, 'Raw' returns the full API response, and 'Select Included Fields' returns only the specified properties. Attachments can optionally be downloaded and included as binary data with customizable field names.

Examples

Example 1: Retrieve a draft by selecting it from a list with a simplified output to get a quick summary without attachments.

Provide the draft via the 'From List' mode, set 'Output' to 'Simplified', and leave attachments download off.

Example 2: Fetch a draft by its ID, including full raw data and optionally download attachments for further processing.

Provide the exact draft ID, set 'Output' to 'Raw', and enable 'Download Attachments' if needed.

Links

Discussion