Note By default, the response includes all the properties of the specified message.
The following example shows how to use $select to specify returning only the Sender and Subject properties of the message in the response.GET https://outlook.office.com/api/v1.0/me/messages/AAMk AGI2NGVh ZTVl LTI1OGMt NDI4My1i Zm E5LTA5OGJi ZGEz MTc0YQBGAAAAAADUu TJK1K9a Tp Cdq Xop_4Na Bw Cd9n J-t Vys Qos2h Tfspa WRAAAAAAEMAACd9n J-t Vys Qos2h Tfspa WRAAADTHVSAAA= Response type The requested message.To synchronize the messages in a folder hierarchy you need to synchronize each folder individually.The API supports both full synchronization that retrieves all of the messages in a folder, and incremental synchronization that retrieves all of the messages that have changed since the last full synchronization.Sample request Note By default, each message in the response includes all its properties.
Sample request Response type The requested message.
The functionality may differ depending on the specific version.
All Mail API requests are performed on behalf of the signed-in user unless specified.
You can get a message collection or an individual message from a mailbox folder.
Each message in the response contains multiple properties, including the Body property. If the body is HTML, by default, any potentially unsafe HTML (for example, Java Script) embedded in the Body property would be removed before the body content is returned in a REST response.
The following example shows how to use $select to specify returning only the Sender and Subject properties of each message in the response.