fixed the broken email helper