I was on my Mac yesterday and accidentally moved (deleted?) an important IMAP folder. The mail account is synced via iCloud. I can see the folder and its contents both at the provider's web portal and on my other devices but I cannot see it on My Mac. Is there a way to get this IMAP folder visible again on my Mac?
macOS Monterey 12.5.1 Mail.app 16.0
Update After googling quite a bit and checking back here periodically, I took the extreme step of deleting the mail account and its 300k + downloaded emails. This did not solve my problem. The folder is still missing. Obviously there is some setting or plist somewhere that marks this folder as not to be displayed. The account was and is again synced via iCloud to my phone and iPad and the folder is visible there.
Update 2 This update just summarizes comments as they tend to get buried. It also provides a bit more information.
- My email provider is Fastmail on a paid account.
- I have added a folder with the same name in Mail.app - this resulted in 2 folders with the same name at Fastmail. I subsequently deleted the new folder both at Fastmail and in Mail.app
- If it matters, the missing folder in Mail.app is named "auto" (I mention this in case that name has special meaning) and it contains 2 subfolders. No mail resides in the auto folder itself at Fastmail, only in its subfolders.
Possible new direction I'm wondering if the most expedient solution might be to delete the account again, but this time delete all the ~/Library files containing data and settings related to this account. I just don't know which files to delete.