I'm running AquaMail 1.55.1 on my stock Android 14 device. All the email accounts that I'm using under AquaMail are utilizing IMAP.
Using a different IMAP client (not AquaMail), I accidentally deleted a lot of emails from some of my accounts on the IMAP server, and I didn't realize it until I had synced those accounts under AquaMail. So, of course, after those AquaMail syncs, the emails deleted from the IMAP server disappeared from each of those AquaMail accounts' Inbox, as expected.
I had taken a full AquaMail accounts backup the day before, and the AquaMail.accounts.backup file was indeed properly saved in my Android /sdcard/Download folder. So, in an attempt to restore my deleted IMAP messages, I did the following:
(1) Delete each of the IMAP accounts where messages were lost
(2) Use Settings=>Backup & restore=>Restore=>Device Storage to select the backup file
(3) Select Restore accounts and Restore emails, but not Restore app settings
(4) Select Restore
This started the restore. After the restore succeeded, all of those accounts were indeed restored. I went to each account and viewed their Inboxes, and all of the lost messages were then indeed showiing in the Inbox for each of these accounts.
HOWEVER (!!!) ... the next time I synced any of the accounts in AquaMail, all the previously-deleted-and-then-restored messages disappeared again from the accounts' Inboxes. What I wanted is for those restored messages to be re-synced back to the IMAP server, so that they don't disappear again.
What can I do in AquaMail to properly accomplish this?
Thank you very much in advance.