Currently the email_registration module only contains procedural code.
Functions like email_registration_unique_username and email_registration_cleanup_username could be moved to a separate service.
The patch attached, moves these 2 functions to a separate service.
Needs work
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.