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.message API lets you count attachments on a message in a single step (GET /me/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 attachments on a message matching a filter?
Say it to your AI assistant
- Count the attachments on message {message_id}.
- Count attachments on email {message_id} matching {filter}.
For your developer
GET /me/messages/{message-id}/attachments/$count in OData Service for namespace microsoft.graph Me.message API. Full spec on APIs.io.