/** * Microsoft Outlook Node - Version 1 * Discriminator: resource=draft, operation=create */ interface Credentials { microsoftOutlookOAuth2Api: CredentialReference; } /** Create a new email draft */ export type MicrosoftOutlookV1DraftCreateParams = { resource: 'draft'; operation: 'create'; /** * The subject of the message */ subject?: string | Expression | PlaceholderValue; /** * Message body content */ bodyContent?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Attachments * @default {} */ attachments?: { /** Attachment */ attachments?: Array<{ /** Name of the binary property containing the data to be added to the email as an attachment */ binaryPropertyName?: string | Expression | PlaceholderValue; }>; }; /** Email addresses of BCC recipients */ bccRecipients?: string | Expression | PlaceholderValue; /** Message body content type * @default html */ bodyContentType?: 'html' | 'Text' | Expression; /** Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a> * @default [] */ categories?: string[]; /** Email addresses of CC recipients */ ccRecipients?: string | Expression | PlaceholderValue; /** Custom Headers * @default {} */ internetMessageHeaders?: { /** Header */ headers?: Array<{ /** Name of the header */ name?: string | Expression | PlaceholderValue; /** Value to set for the header */ value?: string | Expression | PlaceholderValue; }>; }; /** The owner of the mailbox which the message is sent. Must correspond to the actual mailbox used. */ from?: string | Expression | PlaceholderValue; /** The importance of the message * @default Low */ importance?: 'Low' | 'Normal' | 'High' | Expression; /** Whether a read receipt is requested for the message * @default false */ isReadReceiptRequested?: boolean | Expression; /** Email addresses of recipients. Multiple can be added separated by comma. */ toRecipients?: string | Expression | PlaceholderValue; /** Email addresses to use when replying */ replyTo?: string | Expression | PlaceholderValue; }; }; export type MicrosoftOutlookV1DraftCreateNode = { type: 'n8n-nodes-base.microsoftOutlook'; version: 1; credentials?: Credentials; config: NodeConfig; };