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;
    };
    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 options?: { ... }

Default: {}

§readonly pollTimes: { ... }
§readonly simple?: boolean

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