iCloud Syncing

I am having issues syncing all my iCloud folders. I have hundreds and hundreds of emails in them. Is there a way to add parameters to the server connection details i.e. --imap-list-ignore-path “iCloud Folders”