rewrite mail