pub trait MailerExt: Mailer { // Provided method fn validate(&self, email: &Email) -> Result<(), MailError> { ... } }
Extension trait for optional mailer operations.
Validate an email before sending.