How do I Script Apple Mail message selection?

I am a Noob to AppleScript and was wondering if there was someone out there who might be able to help me?

I would like to be able to select a message by it’s message URL/ID (not open it). I would like to be able to select it (rather than open it) so that it’s contents appear in the preview pane along with a view of the thread.

I have the messageID in the message:// format and am just about comfortable stripping text from this variable via AppleScript if the “message://“ or”>” parts need removing.

Does anyone know if message selection like this is possible?

Many thanks in advance.