implement X-GM-MSGID search