Breaking changes in GmailZero

Hey y’all! If you use GmailZero, listen up! Google stopped supporting the version of OAuth we were using to get access to your Gmail inbox a long time ago, but we persisted in using it because for a long time there was no other way to get access to your Gmails.

Well since whenever we last updated GmailZero code, Google finally released a nice API to Gmail that uses OAuth2 (the newer shinier supported version of OAuth), and then starting on Monday they completely shut down the older OAuth1. So now you must act to keep beeminding your inbox with GmailZero:

Go to: Beeminder services and delete (if necessary) and re-authorize with Google.

For bonus points you can sign into your Google account and check what permissions Beeminder has. Mine look like so:

And of course, let us know if you run into trouble!!

Bethany

1 Like

Woah bug report here:

  1. Click the “x” on one of your services on https://www.beeminder.com/services
  2. On the popup box that asks “Are you sure you want to remove this service option?” click “Cancel”
  3. Service is deleted even though you clicked Cancel.
2 Likes

ooh, eep! fixing that right now… Thanks for the bug report!

1 Like

Hmm, I’d like to be able to track all unread messages, archived or not and beemind it, is that possible?

1 Like

Boom:

Thanks again, @drtall!

Ooh, I’d love an automated check of my @reply label. I try to get it down to zero at least once a day and I’ve had a (very, very helpful) Beeminder goal for it going back years, but I often forget to update it manually. If I could get a bump on my graph for every day where my @reply label is zero at least once, that would be amazing.

2 Likes

Thanks for the heads up!

This worked fine for me. Very much looking forward to forthcoming support for beeminding arbitrary label(sets)! Support for multiple accounts would be a boon as well, even mixing labelsets from different accounts. I get an “Arabic/Hindi word of the day” mail and they queue up because I just don’t read them every day, or even most days. This could help with that.

3 Likes

Is there a filter that could give all such messages their own label? Would that be annoying as a workaround? Or maybe @bee can tell us if that sounds easy to do with the Gmail API. Though first maybe we should see if anyone else would want that. Or maybe zeroth: why do you want that? How is that a metric for something you’re akratic about? It seems like it conflates messages you akratically leave unread and messages you purposefully leave unread.

I’m slowly becoming more and more ruthless with every email that I’ve allowed through my labyrinth of filters.

If it comes through the cheese grater and none of my filters have marked it as read then it’s meant to be either observed or actioned.

2 Likes

label:unread

2 Likes

I can’t seem to successfully connect my gmail account. I go through the oAuth2 screen, give permission, and come back to beeminder.com/gmailzero#start, with a green message “Authenticated via google_oauth2 successfully” at the top. But the “Add my gmail” button is still in the same state, and the shazam button is disabled. Google account permissions doesn’t show beeminder on the list of apps that have access. help?

1 Like

Hmm… yeah something really weird is going on here. Is your gmail address the email address you gave when you signed up for beeminder? Can you try visiting https://www.beeminder.com/services and adding google there, without going through the GmailZero setup page?

Thanks for helping me get to the bottom of this!
Bethany

2 Likes

Going to the services page works, but when I go through the gmailzero process from there, it actually removes the Google service.

Originally it wasn’t the same email address, but I changed it to match my main beeminder address.

One other thing that might help – it’s a google apps (custom domain) account…

2 Likes

Ok I think I just squashed the bug and it should be functional now. Can you try it again, or did you already get it working?

Thanks for bearing with me!

2 Likes

In case anyone missed it we blogged about this and more here: blog.beeminder.com/gmailzeroer (the main blogworthy thing is how you can now beemind arbitrary Gmail)

1 Like