should have fixed the problem with the email rewrite