userService.findAllByEmail() query seems flawed when looking at the `emails` array.
userService.findAllByEmail()
query seems flawed when looking at the emails
array. Seems like we need to add a $in
operator for matching inside the array.
Discovered while using the scripts/utils/find-users-by-email.js
utility script on a user, not finding the user but the user has the email in their emails
array.