Recover mail from files

I accedently upgraded ubuntu and Vsftp stopped to work.

After a couple of hours i decided to restore my server from an older snapshot.
I´ve copied all my folders from /home/vmail to my local computer. I had to change permissions on the files to copy them.

After i restored my server i copied all the files to the same folders as before, then the server lost connection to Imap an crashed.

Anyone who konws how i can restore my "old" e-mails?

Google won't tell me :)