change the typehint of Mailer to be transport