added Mail class