Jun 14, 2018

The Gmail API provides server push notifications that let you watch for changes to Gmail mailboxes.

You can use this feature to improve the performance of your application. It allows you to eliminate the extra network and compute costs involved with polling resources to determine if they have changed. Whenever a mailbox changes, the Gmail API notifies your backend server application.