Frends.IMAP.ReadEmail / 2.1.0
Source codeFrends task, that allows to read emails from IMAP server and optionally save attachments to designated directory. The result of the task contains a list of emails objects with message details and a list of saved attachment paths.
Attachments are saved to a directory defined in options. For each email, a subdirectory is created. Subdirectory name is the same as email message id.