Can someone point me in the right direction here. Is what I am asking below possible to do in Automator or Applescript? (whichever is simplest) I have hundreds of emails (EDIT 5000 !). Each one contains an XML representation of an order placed through our website. Later on I want to parse the XML and get customer data from it, but first I need to save all these emails as individual files. So all I need to automate is the saving of the contents of each email into a file. The file can be named anything, it doesn't matter. A sequential number would be ideal, but doesn't matter. Can this saving of emails be done with automator/applescript or is there a better way? Anything is better than cutting and pasting each one.