interface GmailV2NodeParameters {
approvalOptions?: {
values: {
approvalType?: "single" | "double";
approveLabel?: string;
buttonApprovalStyle?: "primary" | "secondary";
buttonDisapprovalStyle?: "primary" | "secondary";
disapproveLabel?: string;
};
};
authentication?: "oAuth2"
| "serviceAccount";
defineForm?: "json" | "fields";
emailType?: "text" | "html";
filters?:
| {
includeSpamTrash?: boolean;
labelIds?: unknown[];
q?: string;
readStatus?: "read"
| "both"
| "unread";
receivedAfter?: string;
receivedBefore?: string;
sender?: string;
}
| {
includeSpamTrash?: boolean;
labelIds?: unknown[];
q?: string;
readStatus?: "read"
| "both"
| "unread";
receivedAfter?: string;
receivedBefore?: string;
};
formFields?: {
values: {
acceptFileTypes?: string;
elementName?: string;
fieldLabel: string;
fieldName?: string;
fieldOptions: { values: { option?: string }[] };
fieldType:
| "number"
| "file"
| "text"
| "email"
| "date"
| "html"
| "checkbox"
| "dropdown"
| "hiddenField"
| "password"
| "radio"
| "textarea";
fieldValue?: string;
formatDate?: string;
html?: string;
limitSelection?: "exact"
| "range"
| "unlimited";
maxSelections?: number;
minSelections?: number;
multipleFiles?: boolean;
multiselect?: boolean;
multiselectLegacyNotice?: string;
numberOfSelections?: number;
placeholder?: string;
requiredField?: boolean;
}[];
};
jsonOutput?: string;
labelId?: string;
labelIds?: unknown[];
limit?: number;
message?: string;
messageId?: string;
name?: string;
operation?: | "create"
| "get"
| "getAll"
| "delete"
| "send"
| "sendAndWait"
| "reply"
| "addLabels"
| "markAsRead"
| "markAsUnread"
| "removeLabels"
| "trash"
| "untrash";
options?: | {
attachmentsUi?: {
attachmentsBinary: { property?: string }[];
};
bccList?: string;
ccList?: string;
fromAlias?: string;
replyTo?: string;
sendTo?: string;
threadId?: string;
}
| {
dataPropertyAttachmentsPrefixName?: string;
downloadAttachments?: boolean;
}
| {
dataPropertyAttachmentsPrefixName?: string;
downloadAttachments?: boolean;
includeSpamTrash?: boolean;
}
| {
labelListVisibility?: | "labelHide"
| "labelShow"
| "labelShowIfUnread";
messageListVisibility?: "hide"
| "show";
}
| {
appendAttribution?: boolean;
attachmentsUi?: {
attachmentsBinary: { property?: string }[];
};
bccList?: string;
ccList?: string;
replyTo?: string;
replyToSenderOnly?: boolean;
senderName?: string;
}
| {
appendAttribution?: boolean;
limitWaitTime?: {
values: {
limitType?: | "afterTimeInterval"
| "atSpecifiedTime";
maxDateAndTime?: string;
resumeAmount?: number;
resumeUnit?: "minutes"
| "hours"
| "days";
};
};
}
| {
appendAttribution?: boolean;
limitWaitTime?: {
values: {
limitType?: | "afterTimeInterval"
| "atSpecifiedTime";
maxDateAndTime?: string;
resumeAmount?: number;
resumeUnit?: "minutes"
| "hours"
| "days";
};
};
messageButtonLabel?: string;
responseFormButtonLabel?: string;
responseFormCustomCss?: string;
responseFormDescription?: string;
responseFormTitle?: string;
}
| {
attachmentsUi?: {
attachmentsBinary: { property?: string }[];
};
bccList?: string;
ccList?: string;
replyToSenderOnly?: boolean;
senderName?: string;
}
| { returnOnlyMessages?: boolean };
resource?: "message" | "thread" | "draft" | "label";
responseType?: "approval" | "freeText" | "customForm";
returnAll?: boolean;
sendTo?: string;
simple?: boolean;
subject?: string;
threadId?: string;
}
Properties§
Source§readonly approval Options?: {
values: {
approvalType?: "single" | "double";
approveLabel?: string;
buttonApprovalStyle?: "primary" | "secondary";
buttonDisapprovalStyle?: "primary" | "secondary";
disapproveLabel?: string;
};
}
readonly approval Options?: {
values: {
approvalType?: "single" | "double";
approveLabel?: string;
buttonApprovalStyle?: "primary" | "secondary";
buttonDisapprovalStyle?: "primary" | "secondary";
disapproveLabel?: string;
};
}
Source§readonly filters?:
| {
includeSpamTrash?: boolean;
labelIds?: unknown[];
q?: string;
readStatus?: "read"
| "both"
| "unread";
receivedAfter?: string;
receivedBefore?: string;
sender?: string;
}
| {
includeSpamTrash?: boolean;
labelIds?: unknown[];
q?: string;
readStatus?: "read"
| "both"
| "unread";
receivedAfter?: string;
receivedBefore?: string;
}
readonly filters?:
| {
includeSpamTrash?: boolean;
labelIds?: unknown[];
q?: string;
readStatus?: "read"
| "both"
| "unread";
receivedAfter?: string;
receivedBefore?: string;
sender?: string;
}
| {
includeSpamTrash?: boolean;
labelIds?: unknown[];
q?: string;
readStatus?: "read"
| "both"
| "unread";
receivedAfter?: string;
receivedBefore?: string;
}
Default: {}
Source§readonly form Fields?: {
values: {
acceptFileTypes?: string;
elementName?: string;
fieldLabel: string;
fieldName?: string;
fieldOptions: { values: { option?: string }[] };
fieldType:
| "number"
| "file"
| "text"
| "email"
| "date"
| "html"
| "checkbox"
| "dropdown"
| "hiddenField"
| "password"
| "radio"
| "textarea";
fieldValue?: string;
formatDate?: string;
html?: string;
limitSelection?: "exact"
| "range"
| "unlimited";
maxSelections?: number;
minSelections?: number;
multipleFiles?: boolean;
multiselect?: boolean;
multiselectLegacyNotice?: string;
numberOfSelections?: number;
placeholder?: string;
requiredField?: boolean;
}[];
}
readonly form Fields?: {
values: {
acceptFileTypes?: string;
elementName?: string;
fieldLabel: string;
fieldName?: string;
fieldOptions: { values: { option?: string }[] };
fieldType:
| "number"
| "file"
| "text"
| "email"
| "date"
| "html"
| "checkbox"
| "dropdown"
| "hiddenField"
| "password"
| "radio"
| "textarea";
fieldValue?: string;
formatDate?: string;
html?: string;
limitSelection?: "exact"
| "range"
| "unlimited";
maxSelections?: number;
minSelections?: number;
multipleFiles?: boolean;
multiselect?: boolean;
multiselectLegacyNotice?: string;
numberOfSelections?: number;
placeholder?: string;
requiredField?: boolean;
}[];
}
Default: {} Type options: {"multipleValues":true,"sortable":true}
Source§readonly json Output?: string
readonly json Output?: string
Default: "[\n {\n "fieldLabel":"Name",\n "placeholder":"enter you name",\n "requiredField":true\n },\n {\n "fieldLabel":"Age",\n "fieldType":"number",\n "placeholder":"enter your age"\n },\n {\n "fieldLabel":"Email",\n "fieldType":"email",\n "requiredField":true\n }\n]" Type options: {"rows":5}
Source§readonly label Ids?: unknown[]
readonly label Ids?: unknown[]
Choose from the list, or specify IDs using an expression Default: [] Type options: {"loadOptionsMethod":"getLabels"}
Source§readonly limit?: number
readonly limit?: number
Max number of results to return Default: 50 Type options: {"minValue":1,"maxValue":500}
Source§readonly operation?:
| "create"
| "get"
| "getAll"
| "delete"
| "send"
| "sendAndWait"
| "reply"
| "addLabels"
| "markAsRead"
| "markAsUnread"
| "removeLabels"
| "trash"
| "untrash"
readonly operation?:
| "create"
| "get"
| "getAll"
| "delete"
| "send"
| "sendAndWait"
| "reply"
| "addLabels"
| "markAsRead"
| "markAsUnread"
| "removeLabels"
| "trash"
| "untrash"
Default: "create"
Source§readonly options?:
| {
attachmentsUi?: {
attachmentsBinary: { property?: string }[];
};
bccList?: string;
ccList?: string;
fromAlias?: string;
replyTo?: string;
sendTo?: string;
threadId?: string;
}
| {
dataPropertyAttachmentsPrefixName?: string;
downloadAttachments?: boolean;
}
| {
dataPropertyAttachmentsPrefixName?: string;
downloadAttachments?: boolean;
includeSpamTrash?: boolean;
}
| {
labelListVisibility?: | "labelHide"
| "labelShow"
| "labelShowIfUnread";
messageListVisibility?: "hide"
| "show";
}
| {
appendAttribution?: boolean;
attachmentsUi?: {
attachmentsBinary: { property?: string }[];
};
bccList?: string;
ccList?: string;
replyTo?: string;
replyToSenderOnly?: boolean;
senderName?: string;
}
| {
appendAttribution?: boolean;
limitWaitTime?: {
values: {
limitType?: | "afterTimeInterval"
| "atSpecifiedTime";
maxDateAndTime?: string;
resumeAmount?: number;
resumeUnit?: "minutes"
| "hours"
| "days";
};
};
}
| {
appendAttribution?: boolean;
limitWaitTime?: {
values: {
limitType?: | "afterTimeInterval"
| "atSpecifiedTime";
maxDateAndTime?: string;
resumeAmount?: number;
resumeUnit?: "minutes"
| "hours"
| "days";
};
};
messageButtonLabel?: string;
responseFormButtonLabel?: string;
responseFormCustomCss?: string;
responseFormDescription?: string;
responseFormTitle?: string;
}
| {
attachmentsUi?: {
attachmentsBinary: { property?: string }[];
};
bccList?: string;
ccList?: string;
replyToSenderOnly?: boolean;
senderName?: string;
}
| { returnOnlyMessages?: boolean }
readonly options?:
| {
attachmentsUi?: {
attachmentsBinary: { property?: string }[];
};
bccList?: string;
ccList?: string;
fromAlias?: string;
replyTo?: string;
sendTo?: string;
threadId?: string;
}
| {
dataPropertyAttachmentsPrefixName?: string;
downloadAttachments?: boolean;
}
| {
dataPropertyAttachmentsPrefixName?: string;
downloadAttachments?: boolean;
includeSpamTrash?: boolean;
}
| {
labelListVisibility?: | "labelHide"
| "labelShow"
| "labelShowIfUnread";
messageListVisibility?: "hide"
| "show";
}
| {
appendAttribution?: boolean;
attachmentsUi?: {
attachmentsBinary: { property?: string }[];
};
bccList?: string;
ccList?: string;
replyTo?: string;
replyToSenderOnly?: boolean;
senderName?: string;
}
| {
appendAttribution?: boolean;
limitWaitTime?: {
values: {
limitType?: | "afterTimeInterval"
| "atSpecifiedTime";
maxDateAndTime?: string;
resumeAmount?: number;
resumeUnit?: "minutes"
| "hours"
| "days";
};
};
}
| {
appendAttribution?: boolean;
limitWaitTime?: {
values: {
limitType?: | "afterTimeInterval"
| "atSpecifiedTime";
maxDateAndTime?: string;
resumeAmount?: number;
resumeUnit?: "minutes"
| "hours"
| "days";
};
};
messageButtonLabel?: string;
responseFormButtonLabel?: string;
responseFormCustomCss?: string;
responseFormDescription?: string;
responseFormTitle?: string;
}
| {
attachmentsUi?: {
attachmentsBinary: { property?: string }[];
};
bccList?: string;
ccList?: string;
replyToSenderOnly?: boolean;
senderName?: string;
}
| { returnOnlyMessages?: boolean }
Default: {}
Source§readonly send To?: string
readonly send To?: string
The email addresses of the recipients. Multiple addresses can be separated by a comma. e.g. jay@getsby.com, jon@smith.com.
Default: {}