How to open a new tab with a message knowing the "imap" URL in Thunderbird

Hi, I have the URL saved (imap://…). I want to open a new tab with that specific email via my popup (so, pressing a button). I tried tabs.create and message.openTab but didn’t work.

Any solutions?