Interface EmailSendV2NodeParameters

Source
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 approvalOptions?: {
    values: {
        approvalType?: "single" | "double";
        approveLabel?: string;
        buttonApprovalStyle?: "primary" | "secondary";
        buttonDisapprovalStyle?: "primary" | "secondary";
        disapproveLabel?: string;
    };
}

Default: {}

Source§

readonly defineForm?: "json" | "fields"

Default: "fields"

Source§

readonly emailFormat?: "text" | "html" | "both"

Default: "html"

Source§

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

Default: {} Type options: {"multipleValues":true,"sortable":true}

Source§

readonly fromEmail?: string

Email address of the sender. You can also specify a name: Nathan Doe <nate@n8n.io>.

Source§

readonly html?: string

HTML text message of email Type options: {"rows":5}

Source§

readonly jsonOutput?: 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 message?: string

Type options: {"rows":4}

Source§

readonly operation?: "send" | "sendAndWait"

Default: "send"

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;
    }

Default: {}

Source§

readonly responseType?: "approval" | "freeText" | "customForm"

Default: "approval"

Source§

readonly subject?: string

Subject line of the email

Source§

readonly text?: string

Plain text message of email Type options: {"rows":5}

Source§

readonly toEmail?: string

Email address of the recipient. You can also specify a name: Nathan Doe <nate@n8n.io>.