What about just normalizing emails? There are libraries out there that can do that with all the different rules that exists (ie + for gmail/outlook, - for yahoo, remove "." for gmail, change domainname for googlemail.com/protonmail.com (pm.com) etc. Example libraries:
https://github.com/naile/canonical-emails https://github.com/soundcloud/normailize
What about just normalizing emails? There are libraries out there that can do that with all the different rules that exists (ie + for gmail/outlook, - for yahoo, remove "." for gmail, change domainname for googlemail.com/protonmail.com (pm.com) etc. Example libraries:
https://github.com/naile/canonical-emails
https://github.com/soundcloud/normailize