Outlook icon

Outlook

Manage Microsoft Graph Outlook subscriptions, messages, and attachments

Actions25

Draft → Create

AI-generated

Summary

Creates a Microsoft Graph draft message in the current mailbox or a specified other mailbox. You can set its subject, body, recipients, destination folder, extra message fields, and optional file or inline image attachments.

Inputs

  • Mailbox — Choose the current mailbox (default) or another mailbox. When using another mailbox, provide its email address.
  • Other Mailbox Email — Required when Mailbox is set to Other Mailbox; identifies the mailbox where the draft is created.
  • Subject — Draft subject.
  • Body — Draft message body.
  • Body Type — Choose HTML (default) or plain text.
  • To — Comma-separated recipient email addresses.
  • CC — Comma-separated CC recipients.
  • BCC — Comma-separated BCC recipients.
  • Destination Folder — Folder for the new draft. Leave empty to use the default Drafts folder; choose a folder from the list or enter its ID.
  • Add Attachment — When enabled, attaches the incoming item's binary property identified by Binary Field Name.
  • Binary Field Name — Name of the incoming item's binary property to attach; shown when Add Attachment is enabled and defaults to data.
  • Inline Images — For HTML bodies, map incoming binary property names to content IDs, then reference them in the body with cid: URLs.
  • Auto-Embed Image URLs — For HTML bodies, optionally fetch public image URLs found in img tags and include them as inline attachments.
  • Additional Body (JSON) — Extra Microsoft Graph message fields to merge into the draft creation request, such as categories or flag.

Output shape

A single execution item containing the created draft message returned by Microsoft Graph.

Each incoming item is processed to create a draft. Optional attachment and inline image inputs are taken from incoming item binary data.

Links

Discussion