Making sure emails are not repeating