function getEmailTemplateSet
getEmailTemplateSet(type: EmailTemplateType): Promise<{ subject: string | null; html: string | null; text: string | null; }>

Get all 3 parts of a custom email template (subject, html, text). Nulls mean "use default".

Parameters

Return Type

Promise<{ subject: string | null; html: string | null; text: string | null; }>

Usage

import { getEmailTemplateSet } from "doc.ts";