Kaizen
Browse modulesInsightsinsights/schedulingSchemas and constants

~~Variable: buildReportEmail~~

const buildReportEmail: (input: BuildScheduleEmailInput) => ReportEmailMessage = buildScheduleEmail;

Defined in: server/insights/scheduling/render-email.ts:56

The default ReportEmailMessage builder: a plain-text body naming the report and its cadence, with the rendered file attached. Consumers who want branding or an HTML body pass their own buildEmail to the worker; this is the zero-config fallback.

Parameters

ParameterType
inputBuildScheduleEmailInput

Returns

ReportEmailMessage

Deprecated

Use buildScheduleEmail.

On this page