Don't try to EXPUNGE read-only mailboxes
At least the Gmail IMAP server drops the connection after several attempts to EXPUNGE read-only mailboxes so we never get to sync.
BUG: 395417 FIXED-IN: 5.8.3