IMAP: Error syncing empty folders