getting correct mail id