pub fn get_email_provider() -> Result<impl EmailProvider, String>
Expand description
Abstracts away the email backend.
The email provider is picked by inspecting the
EMAIL
environment variable.
By default, this will return the SendGrid
implementation.