This is a design of an exception that sends an e-mail.