{"action":"created","issue":{"url":"https://api.github.com/repos/gauteh/gmailieer/issues/84","repository_url":"https://api.github.com/repos/gauteh/gmailieer","labels_url":"https://api.github.com/repos/gauteh/gmailieer/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/gauteh/gmailieer/issues/84/comments","events_url":"https://api.github.com/repos/gauteh/gmailieer/issues/84/events","html_url":"https://github.com/gauteh/gmailieer/issues/84","id":330495663,"node_id":"MDU6SXNzdWUzMzA0OTU2NjM=","number":84,"title":"Feature request: use Gmail push notification API instead of polling","user":{"login":"baip","id":6233512,"node_id":"MDQ6VXNlcjYyMzM1MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/6233512?v=4","gravatar_id":"","url":"https://api.github.com/users/baip","html_url":"https://github.com/baip","followers_url":"https://api.github.com/users/baip/followers","following_url":"https://api.github.com/users/baip/following{/other_user}","gists_url":"https://api.github.com/users/baip/gists{/gist_id}","starred_url":"https://api.github.com/users/baip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baip/subscriptions","organizations_url":"https://api.github.com/users/baip/orgs","repos_url":"https://api.github.com/users/baip/repos","events_url":"https://api.github.com/users/baip/events{/privacy}","received_events_url":"https://api.github.com/users/baip/received_events","type":"User","site_admin":false},"labels":[{"id":555054989,"node_id":"MDU6TGFiZWw1NTUwNTQ5ODk=","url":"https://api.github.com/repos/gauteh/gmailieer/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-08T02:14:30Z","updated_at":"2018-06-09T05:29:56Z","closed_at":null,"author_association":"NONE","body":"Thanks for the awesome tool. It makes Emacs + notmuch a serious mail client solution. It looks like [this API](https://developers.google.com/gmail/api/guides/push) lets you watch for changes to Gmail mailboxes. I'd like to propose implementing such push notification, which I imagine would be more preferable to regular polling."},"comment":{"url":"https://api.github.com/repos/gauteh/gmailieer/issues/comments/395941588","html_url":"https://github.com/gauteh/gmailieer/issues/84#issuecomment-395941588","issue_url":"https://api.github.com/repos/gauteh/gmailieer/issues/84","id":395941588,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTk0MTU4OA==","user":{"login":"baip","id":6233512,"node_id":"MDQ6VXNlcjYyMzM1MTI=","avatar_url":"https://avatars1.githubusercontent.com/u/6233512?v=4","gravatar_id":"","url":"https://api.github.com/users/baip","html_url":"https://github.com/baip","followers_url":"https://api.github.com/users/baip/followers","following_url":"https://api.github.com/users/baip/following{/other_user}","gists_url":"https://api.github.com/users/baip/gists{/gist_id}","starred_url":"https://api.github.com/users/baip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baip/subscriptions","organizations_url":"https://api.github.com/users/baip/orgs","repos_url":"https://api.github.com/users/baip/repos","events_url":"https://api.github.com/users/baip/events{/privacy}","received_events_url":"https://api.github.com/users/baip/received_events","type":"User","site_admin":false},"created_at":"2018-06-09T05:29:56Z","updated_at":"2018-06-09T05:29:56Z","author_association":"NONE","body":"Yeah, it looks like that I jumped the gun suggesting this... I had assumed that IP addresses can be used as endpoints, but after reading the documentation more carefully, it does seem to require HTTPS and CA-signed SSL certificate, so not very useful indeed.\r\n\r\nAnother thought would be to use IMAP IDLE to watch selected mailboxes. This feels straight-forward to implement. I've been using [imapnotify](https://github.com/a-sk/node-imapnotify) in combination with gmailieer. There is also a [Python version](https://github.com/a-sk/python-imapnotify) that may be called directly or as implementation reference. I'd certainly be happy to play around and help wherever I can. For now, unfortunately, I don't think I'm familiar enough with gmailieer to do anything useful efficiently.."}}
{"actor":{"display_login":"baip"}}