Access Outlook mail, calendar, contacts, and tasks via Microsoft Graph API with managed OAuth authentication. Search mail, read threads, manage drafts, send or reply to email, and coordinate calendar events.
This skill uses ClawLink for hosted connection flows and credentials so you do not need to configure Outlook API access yourself.
| Step 1: Install | Step 2: Pair Account | Step 3: Connect Outlook |
|---|---|---|
| :---: | :---: | :---: |
| !Install | !Pair | App-specific connection GIF coming soon |
| Run the install command in OpenClaw | Sign in and approve the device | Open the dashboard and connect Outlook |
┌─────────────────┐ ┌──────────────┐ ┌──────────────────┐
│ OpenClaw │────▶│ ClawLink │────▶│ Microsoft Graph │
│ (User Chat) │ │ (OAuth) │ │ (Mail API) │
└─────────────────┘ └──────────────┘ └──────────────────┘
│ │ │
│ 1. Install Plugin │ │
│ 2. Pair Device │ │
│ 3. Connect Outlook │ │
│ │ 4. Secure Token │
│ │ 5. Proxy Requests │
│ │ │
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ SKILL │ │ Dashboard│ │ Outlook │
│ File │ │ Auth │ │ Mailbox │
└──────────┘ └──────────┘ └──────────┘
Install the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.
openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
Then tell the user: "OpenClaw has been restarted. Send /new as a standalone message to start a fresh chat, then ask for Outlook again."
# List messages in inbox
clawlink_call_tool --tool "outlook_list_messages" --params '{"folder_id": "inbox", "top": 25}'
# Search messages
clawlink_call_tool --tool "outlook_search_messages" --params '{"query": "quarterly report"}'
# Get message details
clawlink_call_tool --tool "outlook_get_message" --params '{"message_id": "MESSAGE_ID"}'
All Outlook tool calls are authenticated automatically by ClawLink using the user's connected Microsoft account.
No API key is required in chat. ClawLink stores the OAuth token securely and injects it into every Microsoft Graph request on the user's behalf.
clawlink_begin_pairing if it is not configured yet.clawlink_list_integrations to verify the connection is active.clawlink_list_integrations
Response: Returns all connected integrations. Look for outlook in the list.
clawlink_list_tools --integration outlook
Response: Returns the live tool catalog for Outlook.
If Outlook tools are missing or the connection shows an error:
clawlink_list_integrations to verifyclawlink_list_tools --integration outlook| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
outlook_list_messages | List messages in a folder | Read |
outlook_get_message | Get a message by ID | Read |
outlook_search_messages | Search messages by query | Read |
outlook_create_draft | Create a new email draft | Write |
outlook_create_draft_reply | Create a draft reply to a message | Write |
outlook_create_forward_draft | Create a draft forward | Write |
outlook_send_message | Send a message | Write |
outlook_send_reply | Send a reply to a message | Write |
outlook_move_message | Move a message to a folder | Write |
outlook_batch_move_messages | Move up to 20 messages at once | Write |
outlook_copy_message | Copy a message to another folder | Write |
outlook_delete_message | Delete a message | Write |
outlook_batch_update_messages | Batch update up to 20 messages | Write |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
outlook_list_mail_folders | List all mail folders | Read |
outlook_create_mail_folder | Create a new mail folder | Write |
outlook_copy_mail_folder | Copy a mail folder | Write |
outlook_delete_mail_folder | Delete a mail folder | Write |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
outlook_list_events | List calendar events | Read |
outlook_get_event | Get an event by ID | Read |
outlook_calendar_create_event | Create a new calendar event | Write |
outlook_create_me_event | Create an event in the user's calendar | Write |
outlook_update_event | Update an existing event | Write |
outlook_delete_calendar_event | Delete a calendar event | Write |
outlook_accept_event | Accept a meeting invitation | Write |
outlook_decline_event | Decline a meeting invitation | Write |
outlook_cancel_event | Cancel a meeting and notify attendees | Write |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
outlook_list_contacts | List contacts | Read |
outlook_get_contact | Get a contact by ID | Read |
outlook_create_contact | Create a new contact | Write |
outlook_update_contact | Update an existing contact | Write |
outlook_delete_contact | Delete a contact | Write |
outlook_list_contact_folders | List contact folders | Read |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
outlook_add_mail_attachment | Add an attachment to a message | Write |
outlook_create_attachment_upload_session | Create an upload session for large attachments (>3 MB) | Write |
outlook_list_attachments | List attachments on a message | Read |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
outlook_create_email_rule | Create an email rule | Write |
outlook_list_email_rules | List email rules | Read |
outlook_create_master_category | Create a category | Write |
outlook_list_master_categories | List categories | Read |
clawlink_call_tool --tool "outlook_list_messages" \
--params '{
"folder_id": "inbox",
"top": 25,
"filter": "isRead eq false",
"orderby": "sentDateTime desc"
}'
clawlink_call_tool --tool "outlook_send_message" \
--params '{
"subject": "Quarterly Report",
"body": {
"contentType": "text",
"content": "Please find the quarterly report attached."
},
"toRecipients": [
{
"emailAddress": {
"address": "colleague@example.com"
}
}
]
}'
clawlink_call_tool --tool "outlook_create_me_event" \
--params '{
"subject": "Team Meeting",
"start_datetime": "2024-07-15T10:00:00Z",
"end_datetime": "2024-07-15T11:00:00Z",
"body": {
"contentType": "text",
"content": "Weekly sync with the team."
},
"location": {
"displayName": "Conference Room A"
},
"attendees": [
{
"emailAddress": {
"address": "teammate@example.com"
},
"type": "required"
}
]
}'
clawlink_call_tool --tool "outlook_search_messages" \
--params '{
"query": "from:manager@example.com subject:review",
"folder_id": "inbox"
}'
clawlink_call_tool --tool "outlook_create_draft_reply" \
--params '{
"message_id": "MESSAGE_ID",
"comment": "Thanks for the update! I will review and get back to you shortly."
}'
clawlink_list_integrations to confirm Outlook is connected.clawlink_list_tools --integration outlook to see the live catalog.clawlink_search_tools with a short query and integration outlook.┌─────────────────────────────────────────────────────────────┐
│ READ OPERATIONS (Safe) │
│ list → get → search → describe → call │
│ │
│ Example: Search messages → Read thread → Show results │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ WRITE OPERATIONS (Require Confirmation) │
│ list → get → describe → preview → confirm → call │
│ │
│ Example: Describe tool → Preview changes → User approves │
│ → Execute update │
└─────────────────────────────────────────────────────────────┘
clawlink_describe_tool first.whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.clawlink_preview_tool first.clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.create_attachment_upload_session first.start_datetime must chronologically precede end_datetime on calendar events.| Status / Error | Meaning |
|---|---|
| ---------------- | --------- |
| Tool not found | The tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration outlook. |
| Missing connection | Outlook is not connected. Direct the user to https://claw-link.dev/dashboard?add=outlook. |
ItemNotFound | Message or folder does not exist. Check the ID. |
InvalidArgument | Invalid parameter or missing required field. Review the tool schema with clawlink_describe_tool. |
SendAsDenied | The authenticated user does not have permission to send as the specified account. |
| Write rejected | User did not confirm a write action. Always confirm before executing writes. |
```bash
openclaw plugins list
```
/new as a standalone message to reload the catalog.```bash
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
```
/new again and retry.outlook.clawlink_describe_tool to verify parameter names and types before calling.clawlink_preview_tool first.Powered by ClawLink — an integration hub for OpenClaw
共 2 个版本