pub fn email_domain_allowed( allowed_domains: Option<&str>, email: &str, ) -> Result<bool>
Returns whether an email address is allowed by a stored allow-list JSON string.