My IMAP subfolders disappeared last week. Will I ever be able to see them again? Yes, they are visible on webmail. Yes, it’s configured as IMAP.
Yahoo by chance? If yes, see this discussion:
https://forum.emclient.com/emclient/topics/imap-folders-suddenly-missing-version-7
None of those ideas worked.