How to import .eml files into Mail?

I'm using readpst to extract emails from a bunch of old outlook .PST files.

It does a great job of pulling out all the emails .EML files, with attachments included.

But how do I bring these into Apple Mail?

Any of the "Import..." options create a separate mailbox for each message.

I want to be able to import groups of messages into a particular mailbox.

(I know that readpst can also generate mbox files, which Apple Mail handles OK, but slowly; but this is not what I want to do.)


If you put the exported e-mails (*.eml files) into a folder structure, then just select the outer folder as the import folder.

The test import I just did is like below:

  1. Select "Apple Mail" as the "Import data from":

enter image description here

  1. Select the outer (root) folder of the e-mails to import:

enter image description here

  1. Confirm the selection:

enter image description here

  1. The imported .eml e-mails is now in an 'import' mailbox (only one mailbox) with the same folder structure as the folder the import came from:

enter image description here

Now you can move all or selected e-mails from the import folder to the mailbox of choice. When all e-mails has been moved, just delete the 'import' mailbox.