Yesterday I changed what folders are visible in IMAP for my Gmail accounts.  The only ones I show now are: inbox, sent, draft, trash and starred.  

I am now getting a duplicate folder name error 1025 in /Gmail/Spam/.  I have hidden those folders from IMAP and in the case of the one below the root, I removed.  Under advanced/folders I said move junk mail to trash.  My Outlook version is 14.2.3.  Apple mail does not have this problem nor does Outlook for Windows.