IMAP doesn't actually pass this information in the mail headers - you need to download the whole mime message structure to know whether there are attachments in a mail or not. I've chosen not to do this for one simple reason - speed. Fetching the whole message structure would have made index synchronization at least 5-6 times slower.
That said, I'll have to see if I can obtain this info asynchronously once the index is downloaded.