type
BeforeEmail
type BeforeEmail func(
EmailContext,
[]Email,
) ([]Email, error)Transform or filter a detached email batch after commit and before delivery.
Related types
EmailContextThe committed submission and selected form supplied to batch transformation.
EmailOne fully formatted outbound email with validated headers.