Check if the email address is valid.