simple email validation

a fallback for browsers that don’t support the html5 email attribute