redid hideEmail for edit mode