Added email address validation.