Skip to content

Outlook

Access to Microsoft Outlook email via the Microsoft Graph API.

  • Read, send, and manage emails
  • Access mail folders (Inbox, Sent, Drafts, etc.)
  • Search messages
  • Manage attachments
GET /me/messages

Query params: $top, $skip, $filter, $orderby, $select

GET /me/messages/{id}
GET /me/messages?$search="keyword"
GET /me/mailFolders
POST /me/sendMail
Body: {
"message": {
"subject": "...",
"body": { "contentType": "Text", "content": "..." },
"toRecipients": [{ "emailAddress": { "address": "..." } }]
}
}
  • Use the api_outlook tool with path, method, and optional params
  • Base URL: https://graph.microsoft.com/v1.0
  • All paths are relative to the base URL

Required config.json:

{
"name": "Outlook",
"slug": "outlook",
"enabled": true,
"provider": "microsoft",
"type": "api",
"api": {
"baseUrl": "https://graph.microsoft.com/v1.0/",
"authType": "bearer",
"microsoftService": "outlook",
"testEndpoint": {
"method": "GET",
"path": "me/mailFolders?$top=1"
}
},
"iconUrl": "https://res.cdn.office.net/files/fabric-cdn-prod_20241209.001/assets/brand-icons/product/svg/outlook_48x1.svg"
}

Use source_microsoft_oauth_trigger to start the Microsoft OAuth flow.

Microsoft Graph has throttling limits. If you receive 429 errors, wait before retrying.