check whether user has email before sending email