Fixed factory class for mail transport