In the middle of a session, I was seeing the terrible "Oops...the system encountered a problem (#707)" message pop up, along with the exponential backoff for the retry:
Unfortunately, it doesn't snap itself back, and clicking "Retry Now" doesn't work either.
The only way to deal with this situation is to close the tab. A further clue is that on closing the tab, Gmail warns us that we should leave yet... it's trying to do something.
Turns out this has something to do with the "Send in Background" labs feature.
I can consistently reproduce the error by:
- Open Gmail with "Send In Background" enabled
- Open any message in my inbox
- Type a reply
- Hit tab-enter to send
- Immediately hit "y" to archive