What do you need to into Code-Snipit in Sharepoint 365 (online) to show the number of unread mails in my Outlook 365 (online) mailbox?
What do you need to into Code-Snipit in Sharepoint 365 (online) to show the number of unread mails in my Outlook 365 (online) mailbox?
We can get the unread emails from the Inbox folder of the current user with the help of Microsoft Graph API.
https://graph.microsoft.com/v1.0/me/mailFolders/Inbox/messages?$filter=isRead ne true&$count=true