How to download email into eml format?

In General, the post is 2000 letters . on Yandex . As they all quickly download in order to parse it .
For example, in the eml format .
July 5th 19 at 00:01
3 answers
July 5th 19 at 00:03
Wrote a program in Delphi which all were drained and one was being parsed
July 5th 19 at 00:05
If the creation of your e-mail client not an end in itself, the download I'd trust any of the existing Thunderbird some. Got the login and password, got the email, saved to disk. And parse all you like.

Find more questions by tags DelphiE-mailParsingPHP