Added a simple regex for email validation.