Added a check to make sure every email address is unique.