condition for email availablity