interface GmailTriggerNodeParameters {
authentication?: "oAuth2" | "serviceAccount";
event?: "messageReceived";
filters?: {
includeDrafts?: boolean;
includeSpamTrash?: boolean;
labelIds?: unknown[];
q?: string;
readStatus?: "read" | "both" | "unread";
sender?: string;
};
maxResults?: number;
options?: {
dataPropertyAttachmentsPrefixName?: string;
downloadAttachments?: boolean;
};
pollTimes: {
item: { mode: string & {}
| "everyMinute" }[];
};
simple?: boolean;
}Properties§
§§§§§
readonly authentication?: "oAuth2" | "serviceAccount"§
readonly event?: "messageReceived"Default: "messageReceived"
readonly filters?: { ... }Default: {}
readonly max Results?: numberMaximum number of emails to fetch each time the node polls for new messages. If more emails arrive between polls, the remaining ones will be picked up in subsequent polls. Default: 10 Type options: {"minValue":1,"maxValue":50}
readonly options?: { ... }Default: {}
readonly poll Times: { ... }§readonly simple?: booleanWhether to return a simplified version of the response instead of the raw data Default: true
Default: "oAuth2"