I have this method to validate an email entered by user.
Now the method is printing the error even if the email is blank.
I don\'t want that behavior. I just w