check in email.java , and vixed few bugs