-->

For a few days, my offline Gmail was refusing to synch up with the server. Every time I would try, I would instantly get an ! in the synch status and it would say “Synchronization has stopped unexpectedly”. Well, yeah. I had figured that part out.

I’m sure there are lots of reasons for this, but you can open the troubleshooting page by going to Settings -> Offline and scrolling down to the link for the Troubleshooting Page.

On my page, I noticed several errors for Failed to get blob down at the bottom of the page under “Recent Errors”.

A BLOB, of course, is a Binary Large Object. I realized at that point that I had unsynchronized messages with images attached (that is to say with BLOBs attached).

I tried moving these to Drafts, but that still didn’t work, so I copied and pasted the contents into a text editor for safe keeping, deleted the messages, cleared the browser cache, closed the browser, reopened, and reloaded GMail.

Success!

I’m sure there are a lot of other things that can cause this, but I didn’t find any good information on this on Google Groups or with a quick search, so hopefully this will help someone or at least give some directions to look in.

Viewing Gmail Messages with No Label

I’ve been experimenting more with Gmail after my disappointing Zimbra experience (I haven’t totally written Zimbra off though, I’m just letting it mature in the cask for a while – the ultimate winner will be the first to allow offline use of Contacts and provide reliable contact synchronization). Anyway, aside from Gmail not having a decent way to delete a message without get kicked back to the message list (instead of just going to the next message like every other email client on the planet, there is also the annoying fact that in Gmail there’s no button to just view messages with no label. In their wisdom, the Google people no doubt think that I’ll be using their wonderful search engine to just search and find the messages I want and locate the relevant message. But as the great Donald Rumsfeld said, there are known unknowns (I can search for those) and unknown unknowns like the credit card bill that I totally forgot about and which I could search for if I knew I had forgotten about it, but then I wouldn’t have forgotten about it and wouldn’t need to search for it now would I?

So the way you find emails that have fallen through the cracks in Gmail is simple, but os so cumbersome. You have to do a negative search for every label you use. That is, you look for messages not labelled Labe1 and not labelled Label2 and so on. There’s no way around this.

If you do this more than once, typing in all your labels in the arcane syntax Gmail uses gets old. So what I’ve done is simply create a shortcut, which you can do quite easily and it works up until you add a new label, but then it’s just a simple matter of editing the bookmark.

So first, you have a full syntax and a compact syntax and, as far as I can tell, the compact syntax does not work with multi-word labels. So if you have Gmail labels with spaces in them, you have to use the full syntax and substitute hyphens for spaces.

So let’s say you have the following labels:

  1. Label1
  2. Label2
  3. Label Three
  4. Label Four

First, we want to exclude all messages that have those labels. To exclude a labeled message from your search, you use the -label: operator.

For the single-word labels, we’ll use the short syntax. This allows you to group terms within curly braces without repeating the “-label:” qualifier. So it looks like this in your Gmail search box

-label:{Label1 Label2}

Simple as that. Now for the multi-word labels, in theory as I read the instructions, I merely need to add quotes around the terms, and they should work within the curly braces. Not so for me. If you create a filter and look at the test search, that’s not how it does it either. So based on that, what I found worked for Label Three and Label Four was:

-label:Label-Three -label:Label-Four

So the entire search, with both single-word labels and multi-word labels, looks like this

-label:{Label1 Label2} -label:Label-Three -label:Label-Four

Now, that will create a URL that looks like this

http://mail.google.com/mail/#search/-label%3A%7BLabel1+Label2%7D+-label%3ALabel-Three+-label%3ALabel-Four

Now you can save this as a bookmark or shortcut and instantly access your unlabeled Gmail messages. Sometimes Gmail will add a zx parameter to your URL that looks like zx=afeoasdxou3swf that is just a random string so that if your ISP is caching data, it will see this as a unique URL and won’t give you cached data for Gmail. Since this effectively creates a single-use URL, if that appears in your URL when you do your search, you should edit it out before saving the bookmark.

Note that if a message has two labels and you are only excluding one of those, the message will still show up in your search. So if you have something labeled Label1 and Label5, and you use the search above, it will still show up in your results.

Also, sometimes a conversation that is labeled shows up unless you relabel the entire conversation, because one message is unlabeled or is still in the Inbox or whatever. If you select the whole conversation in the list view and label it, that takes care of that issue.

Zimbra Email Bliss/Hell and Thunderbird Alternative?

I’ve been on a long quest for an email client that I like. Granted, my wish list ranged from simple (must not crash constantly) to less simple (synch address books with online account). Despite high resource usage and some interface shortcomings, I think the new version of Yahoo! Zimbra is it. Finally, something to get me out of Thunderbird instability hell! For me, at least, this is a Thunderbird killer. Well, I thought this was a Thunderbird killer until a zillion problems with Zimbra surfaced.
What's so great about Zimbra? Read on » »

Gmail delete and go to next message issue

I would say the thing that drives me nuts the most about Gmail, is the fact that every time you delete a message, you’re kicked back out to the message list. Google, taking a page from Microsoft, has decided to do your thinking for you and take this option off the table because you really shouldn’t delete emails. But if I know I will never want that message again, I delete it. And am stuck back out at the message list. This, more than anything has stopped me from adopting Gmail.

It turns out there is a ‘Delete’ and go to next conversation Greasemonkey script that will do just what I’m looking for, but recent Gmail upgrades broke that script. So out of luck again. [Update, June 22, 2009: this script has been fixed. Check it out.]

Over at JimsTips.com, Jim suggests using Gmail Keyboard shortcuts (Gmail Help article) deleting with the # key, which does kick you back to the message list and then using the ‘k’ key to move to the next message and the ‘o’ or <enter> key to open the message. The thing I dislike about that is that it is three page loads when it should be two (in other words, why do I have to see that damn message list?).

So my similarly kludgey, but somewhat more elegant solution (or maybe not) is to:

  • Turn on keyboard shortcuts (in Settings -> General).
  • Create a label named ‘Delete’ (or ‘aaDelete’ if you want to be sure it is at the top of your label list).
  • When reading a message, type ‘l’ (that’s a lower-case L) to bring up the label list.
  • Hit the downarrow key once to select my top aaDelete label at the top of my list
  • Hit the ‘k’ key to move to the next message.
  • When I’m all done, I can view the messages deleted aaDelete and select and delete them all.

Yeah, stupid, crappy, cumbersome way to do it. I know. Tell Google.

Now if only they would come up with a proper way to view all unlabeled messages, but my solution to that is reasonably workable, if a bit cumbersome.