Gmail offline due to "Invalid character in literal"

This started a few days ago, and emClient has been utterly useless since then.

I route all of my email through a Gmail account.  As soon as emClient starts, it marks my gmail account as “offline”.  The following appears in the IMAP log each time I restart emClient:

08:12:37.005|010|   AccountBase.ChangeOnlineState : STATE CHANGE TO online due User
08:12:38.683|03B|   * OK Gimap ready for requests from 108.45.140.154 d20mb53311168qtj
08:12:38.683|006|   A0 CAPABILITY
08:12:38.694|03B|   * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH
08:12:38.695|03B|   A0 OK Thats all she wrote! xxx
08:12:38.695|006|   A1 ID (“name” “eM Client” “version” “7.2.36694.0” “GUID” “EMCLIENT_V1”)
08:12:38.709|03B|   * ID (“name” “GImap” “vendor” “Google, Inc.” “support-url” “http://support.google.com/mail"; “remote-host” “###.###.###.###” “connection-token” “xxx”)
08:12:38.709|03B|   A1 OK Success xxx
08:12:38.709|006|   A2 AUTHENTICATE OAUTHBEARER xxxx=
08:12:38.991|03B|   * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS LITERAL- SPECIAL-USE APPENDLIMIT=35651584
08:12:38.991|03B|   A2 OK [email protected] authenticated (Success)
08:12:38.991|006|   A3 NAMESPACE
08:12:39.032|03B|   * NAMESPACE ((”" “/”)) NIL NIL
08:12:39.032|03B|   A3 OK Success
08:12:39.036|006|   A4 APPEND “[Gmail]/All Mail” (\Seen) “11-Oct-2012 22:25:08 +0000” {72095}
08:12:39.072|03B|   + go ahead
08:12:39.095|006|   
08:12:39.162|03B|   * BYE Invalid character in literal

If this started after your update to 7.2.36694, you could uninstall the application choosing NOT to delete the database directory when prompted, then download and install 7.2.35595 from the Release History.

The problem was resolved by removing my gmail account and re-adding it.