I'm working for a client who has, at some point previously, imported mail from a backup or recovery (not sure which) of a previous version of Mail. The problem is, it imported the mail in a series of subfolders for each folder they had set up. For instance, if they have a folder called Bob, the emails are placed in Import -> Mailboxes -> Bob -> 4E2583-2158 -> Data -> 3 -> 2 -> Messages. That's several folders deep from the mailbox where the emails are supposed to be. I want to eliminate all the extraneous mess, which I can do manually by simply dragging the messages from that "Messages" folder where they reside into the great-great-grandparent folder (heh) called "Bob". The problem is, there are hundreds of mailboxes that are all messed up like this, and I don't want to spend the next week dragging messages from one place to another. Is there any way to automate this cleanup? I'm familiar with AppleScript and Automator, so if I have to use one of those to achieve this, that's fine. I couldn't find anything via Google, however.
jW
jW