Changing error check.
If "no action" is checked the emailfield will not be tested for errors.
Also fixed the error count bug (this is the fix not 9846e965816d18cbf47d4bb2f4c9743f2e81efea)
because the error incrementation was inside the if structure.