Why am I getting this error trying to find a user by email?

But I would need an ID for that and I only have the email