Add type of mailer in contructor