/** * Microsoft Outlook Node - Version 1 * Discriminator: resource=message, operation=send */ interface Credentials { microsoftOutlookOAuth2Api: CredentialReference; } /** Send an existing draft message */ export type MicrosoftOutlookV1MessageSendParams = { resource: 'message'; operation: 'send'; /** * The subject of the message */ subject?: string | Expression | PlaceholderValue; /** * Message body content */ bodyContent?: string | Expression | PlaceholderValue; /** * Email addresses of recipients. Multiple can be added separated by comma. */ toRecipients?: 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; /** Whether to save the message in Sent Items * @default true */ saveToSentItems?: boolean | Expression; }; }; export type MicrosoftOutlookV1MessageSendNode = { type: 'n8n-nodes-base.microsoftOutlook'; version: 1; credentials?: Credentials; config: NodeConfig; };