I’ve read that Applescript doesn’t work in the “new Outlook” but continues to work in the old version. Also, that they haven’'t yet decided whether to support Applescript in the “new Outlook”.
Nothing serious to offer on any Outlook newer than 2011 but try removing the ‘try’ statements as they block whatever error message might show up to give insight into the problem. Once you have working code you can rework them into it.
Regarding outlook… assuming it does work with ‘new’, then maybe try and work your way backwards, e.g. start with ‘accounts’, ‘imap accounts’, then ‘name of imap accounts’ and see if anything gets you the results you need.