Because gmailcc indexes the mails using the message-id, if the message-id is empty, which happens mostly because of malformed mails, gmailcc just ignores it.
Maybe we can try to use other data on this mail, like fetch the whole body and hash it, to index on.