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 Users.mail… lets you count attachments on a message in a single step (GET /users/{user-id}/mailFolders/{mailFolder-id}/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 folder have?
- Can I count the files attached to a message by its ID?
Say it to your AI assistant
- Count the attachments on message {message} in folder {folder} for user {user}.
- Tell me how many files are attached to email {message} in folder {folder} of {user}.
For your developer
GET /users/{user-id}/mailFolders/{mailFolder-id}/messages/{message-id}/attachments/$count in OData Service for namespace microsoft.graph Users.mail…. Full spec on APIs.io.