I am trying to implement an automated e-mail reader using IMAP. Is there anyway to run IMAP queries using the cfimap tag? I want to filter read/unread messages and messages by a certain size before even downloading the messages. I don't even want to run the GetHeadersOnly option as that seems to be slow when you start getting large amounts of messages.
I am also trying to avoid avoid using 3rd party tags like cfx_imap4 and using the java subsystem directly.
Getting the headers is the minimum amount you can, I'm afraid. But you need to do that anyhow, because it's the header that's got the information you say you need for your requirement...