monkey-patch in more support for gmail's imap extensions