Register mailer spec class.