Welcome to the forums
You could create a new folder in the web client so that it appears in Outlook and then copy all your emails into that. Hopefully that will sync them back to the server where you can then move them back into their respective folders.