Authorize the Adam application to be able to access Email address within the domain.To do this navigate HERE to grant permissions to the application. You will need to login as an Authorized user.After successful granting of permissions, you should be redirected to the success page on hiadam.com.
Add the inboxes to be monitored to the security group that you have just made.Click HERE and click on tab Mail-enabled security
Click on the group and add emails you want to allow APIs to access