joeyespo / inbox-by-gmail-checker

Displays the number of unread messages in Inbox by Gmail. You can also click the button to open your inbox.
http://joeyespo.com/inbox-by-gmail-checker
MIT License
68 stars 11 forks source link

Respect "show bundle" setting for bundles #1

Open Ajedi32 opened 9 years ago

Ajedi32 commented 9 years ago

Inbox provides a feature that lets you hide bundles from the inbox and only show them once every day or week. (So you can deal with all the emails in the bundle at once, instead of dealing with them individually as they come in.)

This extension should respect that setting, and not include those emails in the count shown on the Inbox icon until they are displayed in the inbox.

Ajedi32 commented 9 years ago

Looks like this would be pretty difficult, as it seems this extension is currently getting the unread count from Gmail, not Inbox.

joeyespo commented 9 years ago

Yeah, this would be hard with the way it's set up. I think you'd have to have an official "Sign in with Google" to get access to the right API. (Please correct me if I'm wrong.)

Thanks for the issue. It's definitely worth adding if there's a good way to do it.

joeyespo commented 8 years ago

This issues seems to come up a lot in the reviews.

Anyone have any ideas on how to fix this without requiring an additional login?

Ajedi32 commented 8 years ago

Well, the extension already has permission to read from inbox.google.com directly. So maybe that would be enough?

Anyway, I think most extensions like this that I've seen don't require a separate login, just an oauth token. (The user has to click through a permissions prompt from Google before the extension will work properly.) What API were you planning to use?