Skip to content

Function: deriveSenderAddress()

deriveSenderAddress(userEmail, domain): string

Re-home a user’s local part on domain. Throws when no usable local part is available; callers with no user in scope want resolveSystemSenderAddress instead of a fixed from.

string | undefined

string

string