pub async fn send_invite(
db: &Db,
mailer: &Mailer,
base_url: &str,
league: &League,
email: &str,
) -> Result<SentInvite, AppError>Expand description
Mint an invite token for email in league, persist it, and send the email.
Awaited (not spawned): the commissioner gets synchronous confirmation, and the
new invite is durable before the handler redirects to the list.