title: Microsoft Office 365 Scope activity - Office365message getting Subject of a Mail
body: <p>I use the Microsoft Office 365 Scope activity. But I need the Subject and the body of that mail. Btw I cannot use the other activity "Get Outlook Mail Message" because I need the <strong>query</strong> parameter of the GetMail activity.</p>
  
  <p><a href="https://i.stack.imgur.com/hi9fT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hi9fT.png" alt="enter image description here"></a></p>
  
  <p>So as you can see from the picture I want to return the mail subject and so on. But I have no idea how to access it. The only thing I always get is "UiPath.MicrosoftOffice365.Models.Office365Message".</p>
  
  <p>So my question is, is it possible via the <strong>Get Mail</strong> activity to return the subject and body? If yes what is the statement to get it?</p>
  
  <p>I already had a look here:</p>
  
  <ul>
  <li><a href="https://docs.uipath.com/integrations/docs/microsoft-office-365-scope" rel="nofollow noreferrer">https://docs.uipath.com/integrations/docs/microsoft-office-365-scope</a></li>
  <li><a href="https://docs.uipath.com/integrations/docs/microsoft-office-365-setup" rel="nofollow noreferrer">https://docs.uipath.com/integrations/docs/microsoft-office-365-setup</a></li>
  <li><a href="https://docs.uipath.com/integrations/docs/quickstart-get-and-move" rel="nofollow noreferrer">https://docs.uipath.com/integrations/docs/quickstart-get-and-move</a></li>
  <li><a href="https://docs.uipath.com/integrations/lang-de/docs/office365-get-mail" rel="nofollow noreferrer">https://docs.uipath.com/integrations/lang-de/docs/office365-get-mail</a></li>
  </ul>