title: How to get avatar for gmail user?
body: <p>I'm creating an email-based application in React with the Gmail API. I'm loading in a bunch of messages, and I want to display avatars of the senders.</p>
  
  <p>I'm using <a href="https://github.com/Sitebase/react-avatar" rel="noreferrer">this package</a> to display avatars. I'd like to either have a Google Id or an image url. It would also be nice to be able to get images for other popular services, such as Outlook and Yahoo mail.</p>
  
  <p>Other people have asked this same question, but all the answers either seem to use the Picasa API (which is deprecated) or the Google+ API (which will be deprecated).</p>
  
  <p><strong>EDIT:</strong> Yes, the <code>react-avatar</code> package claims it can find an avatar based on supplied user data, but all it does with the email is find a Gravatar, which many people don't have.</p>