interface GmailTriggerNodeParameters {
authentication?: "oAuth2" | "serviceAccount";
event?: "messageReceived";
filters?: {
includeDrafts?: boolean;
includeSpamTrash?: boolean;
labelIds?: unknown[];
q?: string;
readStatus?: "read" | "both" | "unread";
sender?: string;
};
options?: {
dataPropertyAttachmentsPrefixName?: string;
downloadAttachments?: boolean;
};
pollTimes: {
item: { mode: string & {}
| "everyMinute" }[];
};
simple?: boolean;
}
Default: "oAuth2"