Typically, yes. For example, when I migrated to Spacemail, my file and folder structure were preserved and appeared as it was in my previous email account.