function renderWelcomeEmail
renderWelcomeEmail(username: string): RenderedEmail

Returns the welcome email of username. The instance's body has {{username}} and {{site_name}} filled in; raw HTML in it passes through, since it comes from whoever runs the instance, never from a user.

Parameters

username: string

Return Type

Usage

import { renderWelcomeEmail } from "api/mail/welcome.ts";