return an error and display it when editing a email value