Retrieving emails from multiple inboxes through Impersonation office 365

Hi,
I need to retrieve emails from multiple inboxes form different users. Instead of maintaining pwd for each user, a preferred method would be through impersonation, where this “individual” can access all mailboxes in office 365.
We use this feature with our CRM solution.
Any tips how this can be accomplished.
Thanks