title: Getting the user's email account through login
body: <p>I am working on my first chrome app and am trying to learn by digging through some of the sample apps.  Right now I am working with the gdrive app (<a href="https://github.com/GoogleChrome/chrome-app-samples/tree/master/gdrive" rel="nofollow">https://github.com/GoogleChrome/chrome-app-samples/tree/master/gdrive</a>).</p>
  
  <p>The README says that this app "uses the chrome.identity.getAuthToken() API to perform OAuth2 and access the Google Drive API."</p>
  
  <p>When you authorize the app, a screen pops up confirming your authorization and in the top right corner it has the email you are trying to sign in with (johndoe@gmail.com).</p>
  
  <p>I want to save "johndoe@gmail.com" as a string so I can display it when the user is logged in.</p>
  
  <p>Does anyone know how I would go about doing that?  I am fairly new to using these APIs, so I am a bit clueless.</p>
  
  <p>Thanks!</p>