fixed mail formatting