Added email regex validation.