Enumerate a folder's UIDs and sizes cheaply (no bodies), then pull full
bodies in explicit UID-set batches of at most MAX_MESSAGES_PER_FETCH_BATCH
so the transient working set stays bounded regardless of mailbox size.
Messages whose RFC822.SIZE exceeds MAX_MESSAGE_BODY_BYTES are fetched
headers-only and recorded with an empty body plus a WARN naming the uid
and size, rather than buffered whole or silently dropped.
Refs #301