Gmail – How to Find Message by Message-ID

gmailsearch

For archival purposes, I am storing a list of emails. I would like to be able to later find a particular message in my Gmail account. A unique message identifier is its Message-ID. However Gmail does not allow searching for it (returns an empty result). I don't really understand why, since the ID is in the message text.

Is there a way to retrieve a message by its Message-ID in Gmail?

Best Answer

This is now possible.

Announced in a recent blog post, you can now use a bunch of new search operators, including RFC 822 message ID.

From Gmail Help - Using advanced search

rfc822msgid:

Find a message by the message-id header

Example: rfc822msgid:20050329231145.62086.mail@mail.emailprovider.com

Meaning: Locates the exact message with the specified SMTP message-id.