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;
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;
}[];
};
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;
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 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 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 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: {}