Template for retrieving emails using RefreshToken and ClientId from Outlook accounts using mailkit library. Works both in ZennoPoster and ZennoDroid. I will help you to integrate it into your project.
Also the second template that can get refreshtoken for accounts with login:pass
Also help...