title: retrieve all customers email address stripe node.js
body: <p>I have this function that tries to retrieve all the customer's emails in stripe:</p>
  <pre><code> const customers = await stripe.customers.list({
    });
  
      var customerEmail = customers.data[0].email;
      console.log(customerEmail)
  </code></pre>
  <p>I am trying to return all the email addresses of the users from stripe. the problem is, when I log it, it only returns the first one, due to teh fact that I have <code>data[0]</code>. I need all of them, but i can't put it in a loop because what am i looping through. is there any way to do this properly?</p>