I have a rather weird issue and after the posted solutions I seem to be stuck. I have 2 mailboxes out of 25 that when the user selects the deleted folder outlook 2016 freaks out and starts madly flipping between deleted, junk email, and what looks like drafts rapidly to the point it is non-responsive. When I get the microsoft error detail is states apphangb1. Using a Exchange 2013 onsite server.
I have completely uninstalled (using Microsoft removal tool) and reinstalled office(as admin), setup the mailbox profiles twice, change file storage folder(made sure the folder and user had admin privileges and local admin rights on the computer. mailbox does the same thing on another computer.
Any help would be great, really frustrating.
https://www.extendoffice.com/documents/outlook/1615-outlook-restore-folder-view-settings.html
Also try /cleanviews and /resetfolders and /resetfoldernames
https://support.office.com/en-us/article/Command-line-switches-for-Outlook-for-Windows-079164cd-4ef5-4178-b235-441737deb3a6
Look through the other command line parameters in the second article.