If users register with the registration module user names are checked for duplicates (identity::lookup_user_by_name). I'm looking for a method to review emails for dupes but lookups are implemented for id and name only.