Best way (through API) to retrieve every customers E-mail address

I’m trying to avoid having to store/maintain a database for this (a database of shopify customers that I have to update daily, instead of using the shopify API)

I want to, daily, get a list of all customers E-mail addresses that exist in a Shopify store (let’s assume about ~4000, growing 1000 a year). I know I can do this through both graphQL and REST, but it seems like I can only return 250 customers per request. That’s not bad right now, but ideally I’d like to get this data faster, in chunks larger than 250.

I guess, as I write this, 250 chunks isn’t that bad.. but just for fun, if a store had ~50,000 customers, chunks of 250 would be pretty slow, are there other faster options (which can be achieved programmatically/through API, can’t use bulk export to an email address, unless maybe… that might work if I have a script that always checks the email and downloads a file at a certain time, then processes it. Hmmm)

Hello @Alaxandros

As per our knowledge and expertise, this is the query where you can get customer email address according to using filter first and last element.

query{
  customers(first:2){
    edges{
      node{
        firstName
        lastName
        email
      }
    }
  }
}

If you want to get the bulk emails of customers, you can refer this link :

https://shopify.dev/docs/api/usage/bulk-operations/imports

You can also refer this urls :

https://help.shopify.com/en/manual/customers/manage-customers

https://help.shopify.com/en/manual/promoting-marketing/create-marketing/customer-contact-information

Thank You!