I have several IMAP accounts, one of them supports a deep structure. After 3 days of using KMail with this account most of the folders suddenly went empty. I had to recreate the account.