To find a message with specified Message ID, use the Search method like this:
imap.Search(ImapSearchParameter.Header("Message-ID", "your-ID-here"))
This call returns a collection of all messages with the specified Message ID.
Please note that Message ID is not unique - i.e. more messages on the IMAP server can have same Message ID