Fix checking email available.