reformat the mail