interface EmailBase {
    attachment?: AttachmentOptions;
    from?: string;
    subject: string;
    to: string | string[];
}

Properties

attachment?: AttachmentOptions

Attachment for the e-mail

from?: string

Name of origin

example: "My Run"

subject: string

Subject of the e-mail

only allow with message or html

to: string | string[]

E-mail address to be sent

example: "myclien@tago.io"