elaborated on email validation