title: Be informed of a new message - Gmail API
body: <p>I'm trying to get a push from the Gmail API when I receive a new email.</p>
  
  <p>So far, the only way I've found is to do a polling every 10-15 minutes to check if there is a new unread message so I can query again to get the latest messages.</p>
  
  <p>The solution I'm wishing for is a way to tell the Gmail Api to push me either the new messages that come in or an alert that there is new messages to pull.</p>
  
  <p><em>I initially didn't want to post my question here but the Gmail Api Support redirected me here.</em></p>
  
  <p>Thank you</p>