Outlook Inbox

Search Outlook mail, read threads, manage drafts, send or reply to email, and manage calendar events via Microsoft Graph. Use this skill when users want to m...

Jay

@hith3sh

What This Skill Does

Access and manage Outlook mail, calendar, contacts, and tasks through the Microsoft Graph API with automatic OAuth authentication. Search inbox, read message threads, manage drafts, send or reply to emails, and coordinate calendar events.

Replaces manual Outlook API configuration and OAuth token management by handling authentication through ClawLink's hosted connection flow.

When to Use It

  • Search Outlook inbox for emails matching specific keywords or senders
  • Read and reply to email threads without leaving the chat interface
  • Create and manage calendar events or check availability
  • Send new emails or save drafts for later review
  • Manage contacts and tasks through Microsoft Graph
  • List recent unread messages or emails from a specific folder

Install

$ openclaw skills install @hith3sh/outlook-inbox

Outlook Inbox

Outlook Inbox

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.

Setup in 3 Steps

Step 1: InstallStep 2: Pair AccountStep 3: Connect Outlook
InstallPairApp-specific connection GIF coming soon
Run the install command in OpenClawSign in and approve the deviceOpen the dashboard and connect Outlook

How It Works

┌─────────────────┐     ┌──────────────┐     ┌──────────────────┐
│   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

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."

Quick Start

# 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"}'

Authentication

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.

Getting Connected

  1. Install the ClawLink plugin (see Install above).
  2. Pair the plugin with clawlink_begin_pairing if it is not configured yet.
  3. Open https://claw-link.dev/dashboard?add=outlook and connect Outlook.
  4. Call clawlink_list_integrations to verify the connection is active.

Connection Management

List Connections

clawlink_list_integrations

Response: Returns all connected integrations. Look for outlook in the list.

Verify Connection

clawlink_list_tools --integration outlook

Response: Returns the live tool catalog for Outlook.

Reconnect

If Outlook tools are missing or the connection shows an error:

  1. Direct the user to https://claw-link.dev/dashboard?add=outlook
  2. After they confirm, call clawlink_list_integrations to verify
  3. Then call clawlink_list_tools --integration outlook

Security & Permissions

  • Access is scoped to mail, calendar, contacts, and tasks within the connected Microsoft account.
  • All write operations require explicit user confirmation. Before executing any create, update, or delete call, confirm the target resource and intended effect with the user.
  • Destructive actions (delete message, cancel event) must be confirmed.
  • Sending email, sending replies, or deleting calendar events are high-impact actions that require explicit user confirmation.

Tool Reference

Mail Operations

ToolDescriptionMode
outlook_list_messagesList messages in a folderRead
outlook_get_messageGet a message by IDRead
outlook_search_messagesSearch messages by queryRead
outlook_create_draftCreate a new email draftWrite
outlook_create_draft_replyCreate a draft reply to a messageWrite
outlook_create_forward_draftCreate a draft forwardWrite
outlook_send_messageSend a messageWrite
outlook_send_replySend a reply to a messageWrite
outlook_move_messageMove a message to a folderWrite
outlook_batch_move_messagesMove up to 20 messages at onceWrite
outlook_copy_messageCopy a message to another folderWrite
outlook_delete_messageDelete a messageWrite
outlook_batch_update_messagesBatch update up to 20 messagesWrite

Mail Folder Operations

ToolDescriptionMode
outlook_list_mail_foldersList all mail foldersRead
outlook_create_mail_folderCreate a new mail folderWrite
outlook_copy_mail_folderCopy a mail folderWrite
outlook_delete_mail_folderDelete a mail folderWrite

Calendar Events

ToolDescriptionMode
outlook_list_eventsList calendar eventsRead
outlook_get_eventGet an event by IDRead
outlook_calendar_create_eventCreate a new calendar eventWrite
outlook_create_me_eventCreate an event in the user's calendarWrite
outlook_update_eventUpdate an existing eventWrite
outlook_delete_calendar_eventDelete a calendar eventWrite
outlook_accept_eventAccept a meeting invitationWrite
outlook_decline_eventDecline a meeting invitationWrite
outlook_cancel_eventCancel a meeting and notify attendeesWrite

Contacts

ToolDescriptionMode
outlook_list_contactsList contactsRead
outlook_get_contactGet a contact by IDRead
outlook_create_contactCreate a new contactWrite
outlook_update_contactUpdate an existing contactWrite
outlook_delete_contactDelete a contactWrite
outlook_list_contact_foldersList contact foldersRead

Attachments

ToolDescriptionMode
outlook_add_mail_attachmentAdd an attachment to a messageWrite
outlook_create_attachment_upload_sessionCreate an upload session for large attachments (>3 MB)Write
outlook_list_attachmentsList attachments on a messageRead

Rules & Categories

ToolDescriptionMode
outlook_create_email_ruleCreate an email ruleWrite
outlook_list_email_rulesList email rulesRead
outlook_create_master_categoryCreate a categoryWrite
outlook_list_master_categoriesList categoriesRead

Code Examples

List messages in inbox

clawlink_call_tool --tool "outlook_list_messages" \
  --params '{
    "folder_id": "inbox",
    "top": 25,
    "filter": "isRead eq false",
    "orderby": "sentDateTime desc"
  }'

Send a message

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"
        }
      }
    ]
  }'

Create a calendar event

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"
      }
    ]
  }'

Search messages

clawlink_call_tool --tool "outlook_search_messages" \
  --params '{
    "query": "from:manager@example.com subject:review",
    "folder_id": "inbox"
  }'

Create a draft reply

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."
  }'

Discovery Workflow

  1. Call clawlink_list_integrations to confirm Outlook is connected.
  2. Call clawlink_list_tools --integration outlook to see the live catalog.
  3. Treat the returned list as the source of truth. Do not guess or assume what tools exist.
  4. If the user describes a capability but the exact tool is unclear, call clawlink_search_tools with a short query and integration outlook.
  5. If no Outlook tools appear, direct the user to https://claw-link.dev/dashboard?add=outlook.

Execution Workflow

┌─────────────────────────────────────────────────────────────┐
│  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                                  │
└─────────────────────────────────────────────────────────────┘
  1. For unfamiliar tools, ambiguous requests, or any write action, call clawlink_describe_tool first.
  2. Use the returned guidance, schema, whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.
  3. Prefer read, list, search, and get operations before writes when that reduces ambiguity.
  4. For writes or anything marked as requiring confirmation, call clawlink_preview_tool first.
  5. Execute with clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.
  6. If the tool call fails, report the real error. Do not invent results or restate the failure as a missing capability unless the live catalog supports that conclusion.

Notes

  • Message IDs are immutable identifiers — use them directly from list or search results.
  • Large attachments (>3 MB) require an upload session — use create_attachment_upload_session first.
  • Batch operations are limited to 20 items per call.
  • start_datetime must chronologically precede end_datetime on calendar events.
  • Sending a message moves it from Drafts — no separate send action needed for drafts.

Error Handling

Status / ErrorMeaning
Tool not foundThe tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration outlook.
Missing connectionOutlook is not connected. Direct the user to https://claw-link.dev/dashboard?add=outlook.
ItemNotFoundMessage or folder does not exist. Check the ID.
InvalidArgumentInvalid parameter or missing required field. Review the tool schema with clawlink_describe_tool.
SendAsDeniedThe authenticated user does not have permission to send as the specified account.
Write rejectedUser did not confirm a write action. Always confirm before executing writes.

Troubleshooting: Tools Not Visible

  1. Check that the ClawLink plugin is installed:
    openclaw plugins list
    
  2. If the plugin is installed but tools are missing, tell the user to send /new as a standalone message to reload the catalog.
  3. If a fresh chat does not help, run:
    openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
    openclaw gateway restart
    
  4. After restart, tell the user to send /new again and retry.

Troubleshooting: Invalid Tool Call

  1. Ensure the integration slug is exactly outlook.
  2. Use clawlink_describe_tool to verify parameter names and types before calling.
  3. For write operations, always call clawlink_preview_tool first.

Resources

Related Skills


Powered by ClawLink — an integration hub for OpenClaw

ClawLink Logo

Related skills

Outlook

@jotamed

Read, search, and manage Outlook emails and calendar via Microsoft Graph API. Use when the user asks about emails, inbox, Outlook, Microsoft mail, calendar events, or scheduling.

2011k

Office 365 Connector

@tirandagan

Office 365 / Outlook connector for email (read/send), calendar (read/write), and contacts (read/write) using resilient OAuth authentication. NOW WITH MULTI-ACCOUNT SUPPORT! Manage multiple Microsoft 365 identities from a single skill. Solves the difficulty connecting to Office 365 email, calendar, and contacts. Uses Microsoft Graph API with comprehensive Azure App Registration setup guide. Perfect for accessing your Microsoft 365/Outlook data from OpenClaw.

54.3k

Zoho Mail

@byungkyu

Zoho Mail API integration with managed OAuth. Send, receive, and manage emails, folders, and labels. Use this skill when users want to send emails, read mess...

814k

Gmail

@hith3sh

Read, search, draft, reply to, and organize Gmail from chat via the Gmail API. Use this skill when users want an inbox copilot — search and fetch messages, r...

325.1k

Clippy - Microsoft 365 CLI

@foeken

Microsoft 365 / Outlook CLI for calendar and email. Use when managing Outlook calendar (view, create, update, delete events, find meeting times, respond to invitations), sending/reading emails, or searching for people/rooms in the organization.

55.5k

Gmail

@byungkyu

Gmail API integration with managed OAuth. Read, send, and manage emails, threads, labels, and drafts. Use this skill when users want to interact with Gmail. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).

7538k