/** * Gmail Node - Version 1 * Discriminator: resource=message, operation=reply */ interface Credentials { googleApi: CredentialReference; gmailOAuth2: CredentialReference; } export type GmailV1MessageReplyParams = { resource: 'message'; operation: 'reply'; authentication?: 'oAuth2' | 'serviceAccount' | Expression; /** * Thread ID */ threadId?: string | Expression | PlaceholderValue; /** * Message ID */ messageId?: string | Expression | PlaceholderValue; /** * Subject */ subject?: string | Expression | PlaceholderValue; /** * Whether the message should also be included as HTML * @default false */ includeHtml?: boolean | Expression; /** * The HTML message body * @displayOptions.show { includeHtml: [true] } */ htmlMessage?: string | Expression | PlaceholderValue; /** * Plain text message body */ message?: string | Expression | PlaceholderValue; /** * The email addresses of the recipients * @default [] */ toList?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Array of supported attachments to add to the message * @default {} */ attachmentsUi?: { /** Attachment Binary */ attachmentsBinary?: Array<{ /** Add the field name from the input node. Multiple properties can be set separated by comma. */ property?: string | Expression | PlaceholderValue; }>; }; /** The email addresses of the blind copy recipients * @default [] */ bccList?: string | Expression | PlaceholderValue; /** The email addresses of the copy recipients * @default [] */ ccList?: string | Expression | PlaceholderValue; /** The name displayed in your contacts inboxes. It has to be in the format: "Display-Name <name@gmail.com>". The email address has to match the email address of the logged in user for the API. */ senderName?: string | Expression | PlaceholderValue; }; }; export type GmailV1MessageReplyNode = { type: 'n8n-nodes-base.gmail'; version: 1; credentials?: Credentials; config: NodeConfig; };