title: Auto-complete Email Addresses using Google API
body: <p>I am building a web app and want to auto-complete the email addresses. I am able to compose and send emails using <a href="https://mail.google.com/" rel="nofollow noreferrer">Gmail Scopes</a> and javascript. But how can I auto-complete the email addresses when typing the receiver's email addresses? I know I can use Google Contact API to achieve this, can anyone kindly point out how to do it and provide source code if possible. Please see the SS that shows what I need.</p>
  
  <p><a href="https://i.stack.imgur.com/UUwcQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UUwcQ.png" alt="enter image description here"></a></p>
  
  <p>I am using <strong>LAMP</strong> stack and <strong>JavaScript(jQuery)</strong></p>