Can you please confirm that req.query.email is not undefined? That’s likely why JSON.stringify(_id) is also returning undefined.
Also, note that the id is nested within the metadata object. So the key should be metadata.id, as per https://qdrant.tech/documentation/concepts/filtering/#nested-key.