fix headers of mail