Download and install Download Mailbox Emails software for Windows.
Use the following information on the application:
Server: imap.mail.com
Server Port: 993
TLS: Implicit TLS
SSL: SSLv23
Click "Connect" button.
Then, choose INBOX (or any other folder).
Finally, click "Start Download" button. The contents of your INBOX will be downloaded (as EML files) into the specified directory.