Create Draft
AI-generatedSummary
Create a draft email in a specified mailbox folder on a GroupWise IMAP server by composing it from individual fields or providing raw RFC822 content.
Inputs
- Mailbox / Folder (required) — The mailbox folder where the draft email will be saved (e.g., 'Drafts', 'INBOX').
- Input Format (required) — Choose between composing the email from individual fields ('Fields') or providing raw RFC822 email content ('Raw RFC822').
- From — Email address of the sender. Required if 'Fields' input format is used.
- To — Email address of the recipient. Required if 'Fields' input format is used.
- Subject — Subject line of the draft email. Used when 'Fields' input format is selected.
- Body (Text) — Plain text body content of the draft email. Used when 'Fields' input format is selected and HTML body is not provided.
- Body (HTML) — Optional HTML content for the email body. If set, this takes precedence over the plain text body when 'Fields' input format is used.
- Attachments — Comma-separated names of binary properties on the input item containing files to attach to the email. Used when 'Fields' input format is selected.
- Raw RFC822 Content — Raw RFC822 formatted email content to use directly as the draft email. Required if input format is 'Raw RFC822'.
- Options — Additional connection and protocol options such as timeouts, debug logging, authentication method overrides, TLS settings, retries, and certificate error handling.
Output shape
a single item containing a JSON object with details about the created draft
The output JSON includes 'success' (boolean), the 'mailbox' name, and IMAP-specific identifiers: 'uid', 'uidValidity', and 'seq' of the newly created draft message.