Interface GmailTriggerNodeParameters

Source
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"

Default: "oAuth2"

§readonly event?: "messageReceived"

Default: "messageReceived"

§readonly filters?: { ... }

Default: {}

§readonly maxResults?: number

Maximum 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 pollTimes: { ... }
§readonly simple?: boolean

Whether to return a simplified version of the response instead of the raw data Default: true