error notification for all mailer routes and domain check for all routes