@servicenow/sdk - v4.7.0
    Preparing search index...
    type EmailContent = {
        contentType?: "text/html" | "multipart/mixed" | "text/plain";
        forceDelivery?: boolean;
        from?: string;
        importance?: "low" | "high";
        includeAttachments?: boolean;
        message?: string;
        messageHtml?: string;
        messageText?: string;
        omitWatermark?: boolean;
        pushMessageList?: (string | Record<"sys_push_notif_msg">)[];
        pushMessageOnly?: boolean;
        replyTo?: string;
        smsAlternate?: string;
        style?: string | Record<"sysevent_email_style">;
        subject?: string;
        template?: string | Record<"sysevent_email_template">;
    }
    Index

    Properties

    contentType?: "text/html" | "multipart/mixed" | "text/plain"

    MIME content type for the email

    'text/html'
    
    forceDelivery?: boolean

    Whether to force delivery even if user preferences would block it

    false
    
    from?: string

    Email address to use as the sender

    importance?: "low" | "high"

    Priority/importance level of the email

    includeAttachments?: boolean

    Whether to include record attachments in the email

    message?: string

    Message content (legacy field)

    messageHtml?: string

    HTML version of the message content

    messageText?: string

    Plain text version of the message content

    omitWatermark?: boolean

    Whether to omit the ServiceNow watermark from the email

    false
    
    pushMessageList?: (string | Record<"sys_push_notif_msg">)[]

    List of push notification messages to send

    pushMessageOnly?: boolean

    Whether to send only as a push notification (no email)

    false
    
    replyTo?: string

    Email address for replies

    smsAlternate?: string

    SMS alternate message for mobile notifications

    style?: string | Record<"sysevent_email_style">

    Email style to apply to the notification

    subject?: string

    Subject line of the email

    template?: string | Record<"sysevent_email_template">

    Email template to use for formatting the notification