Get duplicates using SELECT mail, count(*) FROM users GROUP BY mail HAVING count(*) > 1;
Take best guess at account they use. Merge in fields you can add from the other account (if there's a clash and it's ambiguous which version to use, leave the field as is). Delete the other account. Then when done this for them all, do:
ALTER TABLE users
DROP INDEX email;
ALTER TABLE users
ADD UNIQUE INDEX email;
Get duplicates using
SELECT mail, count(*) FROM users GROUP BY mail HAVING count(*) > 1;
Take best guess at account they use. Merge in fields you can add from the other account (if there's a clash and it's ambiguous which version to use, leave the field as is). Delete the other account. Then when done this for them all, do: