Overview of ImapFlow fetch methods
ImapFlow provides several methods to retrieve messages depending on whether you need a stream, a full list, or a single message:
fetch(): Returns an async iterator for streaming multiple messages.fetchAll(): Fetches all requested messages and returns them as an array.fetchOne(): Fetches a single message and returns it directly.download(): Downloads a specific message part as a stream.downloadMany(): Downloads multiple message parts simultaneously.