interface EmailSendV2NodeParameters {
approvalOptions?: {
values: {
approvalType?: "single" | "double";
approveLabel?: string;
buttonApprovalStyle?: "primary" | "secondary";
buttonDisapprovalStyle?: "primary" | "secondary";
disapproveLabel?: string;
};
};
defineForm?: "json"
| "fields";
emailFormat?: "text" | "html" | "both";
formFields?: {
values: {
acceptFileTypes?: string;
defaultValue?: string;
elementName?: string;
fieldLabel: string;
fieldName: string;
fieldOptions: { values: { option?: string }[] };
fieldType:
| "number"
| "file"
| "text"
| "email"
| "password"
| "date"
| "html"
| "checkbox"
| "dropdown"
| "hiddenField"
| "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;
}[];
};
fromEmail?: string;
html?: string;
jsonOutput?: string;
message?: string;
operation?: "send"
| "sendAndWait";
options?:
| {
allowUnauthorizedCerts?: boolean;
appendAttribution?: boolean;
attachments?: string;
bccEmail?: string;
ccEmail?: string;
replyTo?: 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;
};
responseType?: "approval"
| "freeText"
| "customForm";
subject?: string;
text?: string;
toEmail?: 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 form Fields?: {
values: {
acceptFileTypes?: string;
defaultValue?: string;
elementName?: string;
fieldLabel: string;
fieldName: string;
fieldOptions: { values: { option?: string }[] };
fieldType:
| "number"
| "file"
| "text"
| "email"
| "password"
| "date"
| "html"
| "checkbox"
| "dropdown"
| "hiddenField"
| "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;
defaultValue?: string;
elementName?: string;
fieldLabel: string;
fieldName: string;
fieldOptions: { values: { option?: string }[] };
fieldType:
| "number"
| "file"
| "text"
| "email"
| "password"
| "date"
| "html"
| "checkbox"
| "dropdown"
| "hiddenField"
| "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 from Email?: string
readonly from Email?: string
Email address of the sender. You can also specify a name: Nathan Doe <nate@n8n.io>.
Source§readonly json Output?: string
readonly json Output?: string
Default: "[\n {\n "fieldLabel": "Name",\n "placeholder": "enter your 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 {\n "fieldLabel": "Textarea",\n "fieldType": "textarea"\n },\n {\n "fieldLabel": "Dropdown Options",\n "fieldType": "dropdown",\n "fieldOptions": {\n "values": [\n {\n "option": "option 1"\n },\n {\n "option": "option 2"\n }\n ]\n },\n "requiredField": true\n },\n {\n "fieldLabel": "Checkboxes",\n "fieldType": "checkbox",\n "fieldOptions": {\n "values": [\n {\n "option": "option 1"\n },\n {\n "option": "option 2"\n }\n ]\n }\n },\n {\n "fieldLabel": "Radio",\n "fieldType": "radio",\n "fieldOptions": {\n "values": [\n {\n "option": "option 1"\n },\n {\n "option": "option 2"\n }\n ]\n }\n },\n {\n "fieldLabel": "Email",\n "fieldType": "email",\n "placeholder": "me@mail.con"\n },\n {\n "fieldLabel": "File",\n "fieldType": "file",\n "multipleFiles": true,\n "acceptFileTypes": ".jpg, .png"\n },\n {\n "fieldLabel": "Number",\n "fieldType": "number"\n },\n {\n "fieldLabel": "Password",\n "fieldType": "password"\n }\n]\n" Type options: {"rows":5}
Source§readonly options?:
| {
allowUnauthorizedCerts?: boolean;
appendAttribution?: boolean;
attachments?: string;
bccEmail?: string;
ccEmail?: string;
replyTo?: 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;
}
readonly options?:
| {
allowUnauthorizedCerts?: boolean;
appendAttribution?: boolean;
attachments?: string;
bccEmail?: string;
ccEmail?: string;
replyTo?: 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;
}
Default: {}
Default: {}