Let's just check for 'valid' characters before we do the general command check

I'm leaving in the validateEmailAddress function just because some
characters that are allowed in commands are not allowed in email addresses.
<> for example, besides the validateEmailAddress function also checks if
it has 1 @ sign..