Get list messages
Scenario
Get a list of emails for a user in Microsoft Graph using a GET REST function and displaying the emails in a list jig. Press on an email to view the content of the email.
Resource links:
List messages - MS Graph documentation
Required OAuth scope (least to most privilege):
Mail.ReadBasic Mail.ReadWrite Mail.Read

Examples and code snippets
When using the code and samples in this topic, remember that they are designed to function as part of a comprehensive solution. To fully benefit from the intended functionality and ensure compatibility, it is recommended that you use the entire solution rather than selecting individual components in isolation. Alternatively, you can use these samples as a guide to understand the underlying concepts and MS Graph API, which can help you integrate similar solutions into your projects more effectively. The entire MS Graph solution is available on GitHub.
General
name: ms-graph-demonstrator
title: MS Graph Demonstrator
description: A sample solution that uses the Microsoft Graph API. You can deploy and use this solution without any additional configuration.
category: business
tabs:
home:
jigId: view-user-jigx
icon: home-apps-logo
calendar: "2x2"
jigId: calendar-summary
icon: calendar
meeting:
jigId: next-meeting
when: |
[email protected]=null? false:true
icon: meeting-remote
emails:
jigId: list-email-messages
icon: emailFunctions
MS Graph list messages function in GitHub.
Jigs
MS Graph messages jig in GitHub.
Last updated
Was this helpful?