You should have an accounts.ini file in your \profile\mail\ folder. That's what you need to import mail accounts.

Just copying the \profile\mail folder and all of its subfolders to the new installation's profile folder should work without having to import anything.