I don’t know if this helps at all but I had a very similar error with multiple existing mail domains in zimbra. I needed to make sure that the last UCS mail domain I ran the wizard against to connect to zimbra was the one that contained my zimbra admin user otherwise I got this not initialised exception.