I would start with the UserEmail model and find the ones with “invalid” in their email address and loop through those, but that’s not something I can figure out exactly on my phone.
If those addresses with invalid in them were truly invalid then they would not be able to be saved.