Function: resolveSenderAddress()
resolveSenderAddress(
config,userEmail):string
Resolve the From address for a send from the resolved config and the
current OBO user.
With a user in scope: an explicit from wins, then <local>@<domain>, then
(file/outbox mode only) the user’s email verbatim. With NO user the send is
system mail, so it goes from resolveSystemSenderAddress. Throws when
none of those yield an address.
Parameters
Section titled “Parameters”config
Section titled “config”userEmail
Section titled “userEmail”string | undefined
Returns
Section titled “Returns”string