Hi @Alex Baradzin ,
Hope you are doing well,
Tried to replicate this scenario at my end please find the details below.
Using these Graph API end points you can get message body details .
- https://graph.microsoft.com/v1.0/me/messages?$filter=startswith(subject,'test email')&top=1
- https://graph.microsoft.com/v1.0/me/messages?$select=sender,subject,body
Non protected message Results
BodyPreview : will return First 255 characters of the message body. It is in text format.
Body:- The body of the message. It can be in HTML or text format. Find out about safe HTML in a message body.
Protected message results
Refer this link :-https://learn.microsoft.com/en-us/graph/api/resources/message?view=graph-rest-1.0
Getting the context of protected message with Graph API is not supported at this time;
You can submit this feature request idea using this support link which will be monitored by Microsoft team and make the enhancements to Microsoft Graph APIs.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have additional questions about this answer, please click "Comment".