If messages are in a Recovered Messages mailbox in Mail on Mac
If an email account in the Mail app on your Mac has a Recovered Messages Mailbox in the Mail sidebar, try these suggestions.
If Mail moved messages to the Recovered Messages mailbox when it updated your email library after a macOS upgrade, drag the messages into another mailbox.
If messages from a specific mailbox are repeatedly moved to the Recovered Messages mailbox, you may need to rebuild a mailbox to update the list of messages. See Rebuild mailboxes in Mail on Mac.