Thursday, May 30, 2013

Keep Google Voice From Disabling SMS on Feature Phones

This is a problem that's been driving me crazy for almost a year now, and thankfully it turns out that it's all my fault.

I have an Android "phone" that lives in airplane mode, and a feature phone that I occasionally use to receive calls and texts. Most of my outgoing calls happen either from my Android (via a an app called "GVoice Callback" over wifi to my feature phone) or from my computer (From the Google Voice webpage to the Gmail webpage). Most of my outgoing sms messages are sent from the Google Voice webpage, though many are also sent from my Android's Google Voice app. Very rarely do I send a text from my feature phone, but it happens.

For quite a while now, I would open up https://www.google.com/voice#phones and choose my feature phone, select "Receive text messages on this phone" and for a time it would send any texts received to my feature phone, on the off chance I was away from Wifi and needed to be contacted. After doing that, I would stop getting texts automatically sent to my Google Voice app on my Android. 

To make a longer story shorter: in the official Google Voice app for Android, you're required (for some reason) to set a number for the phone you're using the app on. If you--like me--don't actually have a number for your android and foolishly chose your feature phone's number, then you will have the same issue. It turns out that the phone-specific setting chosen on your Android is synced to the phone-specific settings on the Google Voice webpage. Checking the box labeled
"Receive text messages on this phone" on the webpage, sets the Android app (under Sync and notifications) to "Receive text messages ... Via the messaging app", which disables sms sync on the Google Voice app. 

To fix it, I simply told my Android app that it was my home phone's number. If you don't have a home phone (and really, why would you) then presumably any number that you don't want to receive text messages on will do the trick, be this your SIP number, an old Gizmo5 number, or really any number you can receive a voice call on once a month to verify with Google.

Monday, May 13, 2013

Gmail search: find email that is not in a specified label

I recently updated my Android from 3.2 to 4.2.2 and with this change came "Actionable Notifications" like the ability to archive an incoming email without having to open the Gmail app. This is extremely convenient, but has left me with a lot of unread email going to the archive. Most people know about the is:unread search query, thanks to Google's handy list of gmail operators. This list also includes ways to search only in specific labels like in:inbox or in:afolderofmine but no mention of how to search for mail that is not in a specified label. I tried the usual things like -in:inbox and notin:inbox and !=inbox and even !=in:inbox but none of those worked.

Finally I tried !in:inbox and it worked*.

In practical use, we could search for is:unread to find all of our unread mail, and visually distinguish between messages with and without the "inbox" label, and only check the conversations not in the inbox, and mark those as read, but why should we do the work of comparison when we could have our robot slaves do that for us?
Instead, search for something like is:unread has:nouserlabels !in:inbox !in:drafts and select all items that match and mark them as read.

Now we just need to implement some automation, and have these archived messages automatically marked as read after a few days. This is where I come up empty. IFTTT.com can search your Gmail for the string I gave above, but it can't do anything with it afterwards. I remember using a service before IFTTT existed that was specific to Gmail and advertised itself as adding features that were (and still are to this day) missing from Gmail, like time-based actions. I've long since lost the link and I only vaguely remember a silver logo and a name that started with an 's'. I also remember it not working well or all the time, but it was a free service, and they didn't seem to be stealing my information, so I didn't hold it against them.



*. It should be mentioned that you can have one message in a conversation in your archive and the rest of the conversation in your inbox, but when you search for things not in your inbox, the entire conversation will show up in your search results. Regrettably, this means we're not completely free from reading the list before apply an action to all of the items on that list.