#[derive(Clone, Debug, thiserror::Error)]
pub enum Error {
#[error("Configuration error: {0}")]
Config(#[from] quokka_config::Error),
#[error("Unable to connect to mailserver {0}")]
ConnectToMailserverError(String),
#[error("Unable to compile message")]
CompileMessageError,
#[error("Unable to send E-Mail to {0:?}")]
UnableToSendMessage(Vec<String>),
}
pub type Result<T> = std::result::Result<T, Error>;