title: discord.js extracting emails
body: <p>The code below lets me get every information about a user in discord. However, I couldn't find a way to get the emails of users. Is it deprecated? Can someone help me with the code?</p>
  
  <pre><code>client.on('ready', () =&gt; {
  
    console.log(`logged in as ${client.user.username}`);
  
    var Count;
    for(Count in client.users.array()){
       var User = client.users.array()[Count];
       /* client.sendMessage(User, msg); */
  
       //userName += User.username + "#" + User.discriminator + '\n';
    }
  
  })
  </code></pre>