Can I search ALL emails over IMAP without downloading the message(s)?
As specified in 6.4.4 of RFC 3501 IMAP version 4 revision 1 (IMAP4rev1):
The SEARCH command searches the mailbox for messages that match the given searching criteria. Searching criteria consist of one or more search keys. The untagged SEARCH response from the server contains a listing of message sequence numbers corresponding to those messages that match the searching criteria.
The defined search keys are as follows. Refer to the Formal Syntax section for the precise syntactic definitions of the arguments
BODY Messages that contain the specified string in the body of the message.
...so I wonder if I can search inside the body of the email without downloading it first?