Function rss2email_lib::email::email_provider::get_email_provider
source · 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.