Hi again!
In the most recent version (6), on Thunderbird 137.0.1, when I move messages I sometimes get this on the Thunderbird error log:
Error: Support deprecated since Thunderbird 121 and removed in Manifest V3: messages.move() requires to specify a MailFolderId instead of a full MailFolder object.
It specifies the location at background.js:53.
await browser.messages.move(messageIds, folder);
I am not remotely an expert in Thunderbird, but this might work:
await browser.messages.move(messageIds, folder.id);
Per the documentation here.
Thanks!