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.message… lets you count attachments on a message in a single step (GET /users/{user-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 have?
- Can I count only the inline attachments on a message?
Say it to your AI assistant
- Count the attachments on message {message} for user {user}.
- Tell me how many attachments email {message} has in user {user}'s mailbox.
For your developer
GET /users/{user-id}/messages/{message-id}/attachments/$count in OData Service for namespace microsoft.graph Users.message…. Full spec on APIs.io.