QMessage::attachmentIds() returns sometimes empty list even if email has attachment(s).
Reproduce an error:
1. Setup gmail or yahoo email account to the device. Note: it looks like that error can be reproduced more easily if email account has more than 30 emails and some of them are older ones(with attachment).
2. Execute attached application and look line "resultList.size(): X" of each email.