yeah, array_unique works good for this
$array = array("email1", "email1", "email3", "email4");
$unique = array_unique($array);
if(count($unique)<count($array)){
echo "Dupe Found!";
}
if the unique array is less then the original value array then there was a value that matched another, you could then decide to let the user find their mistake or look at the array keys to find the break in the chain (array_unique preserves the keys so looking for a break should be easy)