Count attachments on a message
One step with Microsoft Outlook. We can help you get access.
Look something up
Count attachments on a message
Works with AI assistantsUse Microsoft Outlook: its OData Service for namespace microsoft.graph Me.mail Folder… lets you count attachments on a message in a single step (GET /me/mailFolders/{mailFolder-id}/childFolders/{mailFolder-id1}/messages/{message-id}/attachments/$count). Microsoft Outlook also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How many attachments does an email in a subfolder have?
- Can I count only the attachments on a message in a subfolder?
Say it to your AI assistant
- Count the attachments on message {message} in subfolder {subfolder} of folder {folder}.
- Tell me how many attachments email {message} has in subfolder {subfolder} of {folder}.
For your developer
GET /me/mailFolders/{mailFolder-id}/childFolders/{mailFolder-id1}/messages/{message-id}/attachments/$count in OData Service for namespace microsoft.graph Me.mail Folder…. Full spec on APIs.io.