editemail method change