composio-outlook

Outlook/Microsoft 365 email via Composio API. Use when: (1) Sending emails via Outlook/Microsoft 365 (2) Listing, searching, or reading Outlook inbox messages (3) Replying to Outlook emails (4) Creating drafts or managing folders Use Composio HTTP API only.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "composio-outlook" with this command: npx skills add prashaantr/teach-claude-something-new/prashaantr-teach-claude-something-new-composio-outlook

Outlook via Composio

Environment

COMPOSIO_API_KEY      # API key
COMPOSIO_USER_ID      # Entity ID (required for all requests)
COMPOSIO_CONNECTIONS  # JSON with .outlook connection ID

Core Pattern

CONNECTION_ID=$(echo $COMPOSIO_CONNECTIONS | jq -r '.outlook')

curl -s "https://backend.composio.dev/api/v3/tools/execute/ACTION_NAME" \
  -H "x-api-key: $COMPOSIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "connected_account_id": "'$CONNECTION_ID'",
    "entity_id": "'$COMPOSIO_USER_ID'",
    "arguments": {}
  }' | jq '.data'

Quick Start

IMPORTANT: Choose the right action!

  • User says "draft" or "prepare" → Use OUTLOOK_CREATE_DRAFT (saves to Drafts folder)
  • User says "send" → Use OUTLOOK_SEND_EMAIL (sends immediately)
# SEND EMAIL (sends immediately - always include agent tag)
curl -s "https://backend.composio.dev/api/v3/tools/execute/OUTLOOK_SEND_EMAIL" \
  -H "x-api-key: $COMPOSIO_API_KEY" -H "Content-Type: application/json" \
  -d '{
    "connected_account_id": "'$CONNECTION_ID'",
    "entity_id": "'$COMPOSIO_USER_ID'",
    "arguments": {
      "to": "recipient@example.com",
      "subject": "Subject line",
      "body": "Email body text\n\n--\nSent by '"$AGENT_NAME"'"
    }
  }' | jq

# List recent messages
curl -s "https://backend.composio.dev/api/v3/tools/execute/OUTLOOK_LIST_MESSAGES" \
  -H "x-api-key: $COMPOSIO_API_KEY" -H "Content-Type: application/json" \
  -d '{
    "connected_account_id": "'$CONNECTION_ID'",
    "entity_id": "'$COMPOSIO_USER_ID'",
    "arguments": {"max_results": 10}
  }' | jq

# Get specific message by ID
curl -s "https://backend.composio.dev/api/v3/tools/execute/OUTLOOK_GET_MESSAGE" \
  -H "x-api-key: $COMPOSIO_API_KEY" -H "Content-Type: application/json" \
  -d '{
    "connected_account_id": "'$CONNECTION_ID'",
    "entity_id": "'$COMPOSIO_USER_ID'",
    "arguments": {"message_id": "MESSAGE_ID_HERE"}
  }' | jq

# Search messages
curl -s "https://backend.composio.dev/api/v3/tools/execute/OUTLOOK_SEARCH_MESSAGES" \
  -H "x-api-key: $COMPOSIO_API_KEY" -H "Content-Type: application/json" \
  -d '{
    "connected_account_id": "'$CONNECTION_ID'",
    "entity_id": "'$COMPOSIO_USER_ID'",
    "arguments": {"query": "from:someone@example.com"}
  }' | jq

Common Actions

ActionDescription
OUTLOOK_SEND_EMAILSend email immediately
OUTLOOK_CREATE_DRAFTSave draft without sending
OUTLOOK_LIST_MESSAGESList inbox messages
OUTLOOK_GET_MESSAGEGet message by ID
OUTLOOK_SEARCH_MESSAGESSearch messages
OUTLOOK_REPLY_TO_MESSAGEReply to a message
OUTLOOK_LIST_FOLDERSList mail folders

Discover All Actions

curl -s "https://backend.composio.dev/api/v2/actions?apps=outlook" \
  -H "x-api-key: $COMPOSIO_API_KEY" | jq '.items[] | {name, description}'

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

discord

No summary provided by upstream source.

Repository SourceNeeds Review
General

composio-linear

No summary provided by upstream source.

Repository SourceNeeds Review
General

composio-drive

No summary provided by upstream source.

Repository SourceNeeds Review
General

composio-exa

No summary provided by upstream source.

Repository SourceNeeds Review