Added method to check email.