EmailConfiguration: ApprovalFormsInclusionConfiguration & {
    bccEmail?: string[];
    ccEmail?: string[];
    email?: string;
    emailAttachmentsEndpoint?: EndpointConfiguration;
    emailSubjectLine?: string;
    emailTemplate?: {
        id: number;
        mapping: PdfSubmissionEventEmailTemplateMapping[];
    };
    excludedAttachmentElementIds?: string[];
    toEmail?: string[];
}

Type declaration

  • Optional bccEmail?: string[]

    The bcc: email addresses in which a PDF copy of the form submission will be sent.

  • Optional ccEmail?: string[]

    The cc: email addresses in which a PDF copy of the form submission will be sent.

  • Optional email?: string

    @deprecated: use toEmail instead

  • Optional emailAttachmentsEndpoint?: EndpointConfiguration

    Endpoint configuration for adding custom attachments to the email.

  • Optional emailSubjectLine?: string

    The subject line of the email sent to the configured email address.

  • Optional emailTemplate?: {
        id: number;
        mapping: PdfSubmissionEventEmailTemplateMapping[];
    }

    A reference to a custom template for the email body.

  • Optional excludedAttachmentElementIds?: string[]

    An array of element ids to exclude from the email when adding attachments.

  • Optional toEmail?: string[]

    The to: email addresses in which a PDF copy of the form submission will be sent.