Hmm also, can you leave a comment here stating that we might also need to trigger an EXPUNGE over all selected mailboxes?

I was thinking: what happens if we have messages flagged as Deleted, and we leave them flagged in soledad when we leave? After the MUA is closed, I think it will do show the message in the next session.