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§

Source§

readonly authentication?: "oAuth2" | "serviceAccount"

Default: "oAuth2"

Source§

readonly event?: "messageReceived"

Default: "messageReceived"

Source§

readonly filters?: {
    includeDrafts?: boolean;
    includeSpamTrash?: boolean;
    labelIds?: unknown[];
    q?: string;
    readStatus?: "read" | "both" | "unread";
    sender?: string;
}

Default: {}

Source§

readonly options?: {
    dataPropertyAttachmentsPrefixName?: string;
    downloadAttachments?: boolean;
}

Default: {}

Source§

readonly pollTimes: { item: { mode: string & {} | "everyMinute" }[] }

Source§

readonly simple?: boolean

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