interface EmailWithTemplate {
    attachment?: AttachmentOptions;
    from?: string;
    template?: TemplateOptions;
    to: string | string[];
}

Properties

attachment?: AttachmentOptions

Attachment for the e-mail

from?: string

Name of origin

example: "My Run"

template?: TemplateOptions

Use TagoRUN E-Mail Template

Tip: If you use template together with attachment the back-end will generate a parameter called 'URL';

to: string | string[]

E-mail address to be sent

example: "myclien@tago.io"