Implemented support the for the X-GM-MSGID and X-GM-THRID GMail IMAP extensions.