Skip to Content
⚠️Active Development Notice: TimeTiles is under active development. Information may be placeholder content or not up-to-date.

web


web / lib/services/data-export-emails

lib/services/data-export-emails

Email templates and sending functions for data export.

Provides HTML email templates for:

  • Export ready notification with download link
  • Export failed notification with retry guidance

Functions

sendExportReadyEmail()

sendExportReadyEmail(payload, email, firstName, downloadUrl, expiresAt, fileSizeMB): Promise<void>

Send export ready notification email.

Parameters

payload

BasePayload

email

string

firstName

string | null | undefined

downloadUrl

string

expiresAt

string

fileSizeMB

number

Returns

Promise<void>


sendExportFailedEmail()

sendExportFailedEmail(payload, email, firstName, errorReason?): Promise<void>

Send export failed notification email.

Parameters

payload

BasePayload

email

string

firstName

string | null | undefined

errorReason?

string

Returns

Promise<void>

Last updated on