title: Searching all users' emails in office 365 for items sent to certain people
body: <p>When someone views contact details in our CRM, I would like to pull in a summary of recent correspondence. </p>
  
  <p>I can search one user easily enough:</p>
  
  <pre><code>https://graph.microsoft.com/v1.0/users/jo@example.com/messages?$search="bob@example.com"&amp;$select=from,sender,toRecipients,subject
  </code></pre>
  
  <p>But you have to cross reference every user with every contact is a lot of requests.</p>
  
  <p>Is it possible to search the Microsoft Graph for all emails sent from/to an address from/to all users?</p>
  
  <p>If not, is there any other API / Tech out there that could get me the information. </p>