I just attempted to use the built in mail import tool to import mail from a previous installation of Thunderbird. Unfortunately it only picked up the top level folders and I had to manually copy the subfolders over. Seems silly to have an import tool that isn't smart enough to check for subfolders!