Validate Email function added.