Review Folder and Mark Read
A 3-step recipe with Microsoft Outlook. We can help you get access.
Recipe · 3 steps
Review Folder and Mark Read
with Microsoft Outlook
Read a folder, list its unread messages, and mark the top one read.
- Read the target mail folder to confirm it exists and capture its unread item count.
- List the unread messages in the folder ordered by received date, capturing the id of the most recent unread message.
- Patch the most recent unread message to set isRead to true. Graph returns 200 with the updated message.
What you'll need to have ready
- mailFolderId: The folder id or well-known name (e.g. inbox) to review.
- pageSize: How many unread messages to list.
For your developer
Arazzo workflow microsoft-outlook:review-folder-and-mark-read, 3 operations: getMailFolder → listMessagesInFolder → updateMessage. Specs on APIs.io.