added feature to find the mail in uid