Only show error when email is defined