fixes #5811 - Validates emails to RFC 5322 specification

Since spaces are allowed within an email using the quoted-string form, it doesn't make sense to strip internal whitespaces anymore.