How would i get a user by their email?
I am integrating Paddle and their webhooks include a customer id (this is a customer id they created). I take the customer id and do a look up in their system for the user's email. Now that i have the email i dont know how to find the user in appwrite.
TL;DR
To get a user by email in Appwrite, you can use the following code snippet:
```js
users.list([
Query.equal(“email”, USER_EMAIL_ADDRESS)
])
```
This code will allow you to find a user based on their email address.