Weird stuff happens when you are trying to find the minimal fix for an old thing, knowing there is a better way but it would take a lot of time.
Thankfully, "me@gmail.com" is a valid username as just "me" so I didn't need to refactor my data structures or function.