interface OutgoingEmail
extends RenderedEmail

Passed to sendEmail: a rendered email, its recipient, and the headers some emails add (the digests' List-Unsubscribe).

Properties

to: string
optional
headers: Record<string, string>

Usage

import { type OutgoingEmail } from "api/services/email-service.ts";