If you want to export IMAP account emails to EML files then I recommend the eSoftTools IMAP backup and migration software because this tool is very easy to use and can migrate your data immediately. EML is the file format that several email clients use to store emails locally. It allows users to extract and save IMAP emails to EML without showing any errors.it supports all window operating systems like
Know More - Export IMAP Account Emails to EML files
https://www.esofttools.com/blog/export-imap-account-emails-to-eml-files/