check email if exist function