Skill

Automate Outlook Email and Calendar Tasks

Automates Outlook email, calendar, and contacts via Rube MCP and Composio's toolkit with KQL and OData filtering.

Works with microsoft outlook

78
Spark score
out of 100
Updated last month
Version 13.1.0
Models
universal

Add to Favorites

Why it matters

Streamline your Microsoft Outlook operations by automating email searching, filtering, and calendar management. This skill leverages Composio's Outlook toolkit via Rube MCP to efficiently handle your daily communication and scheduling needs.

Outcomes

What it gets done

01

Search and filter emails using KQL syntax across your mailbox.

02

Query emails within specific folders using OData filters.

03

Manage calendar events, including listing, searching, and retrieving details.

04

Organize contacts and mail folders.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/ag-outlook-automation | bash

Overview

Outlook Automation via Rube MCP

Automates Outlook email search, calendar management, and contacts via Rube MCP and Composio's toolkit, using KQL and OData filter syntax. Use when automating Outlook email search, calendar events, contacts, or mail folder organization through an MCP-connected agent.

What it does

Automates Microsoft Outlook operations - email search, folder queries, calendar events, contacts, and mail folder management - through Composio's Outlook toolkit accessed via Rube MCP.

When to use - and when NOT to

Use this skill when searching or filtering emails across a mailbox, querying a specific folder with structured filters, managing calendar events and free/busy schedules, creating or listing contacts, or organizing mail folders through Outlook's API. Not a fit for personal @hotmail.com/@outlook.com accounts, since several operations (notably message search) require Microsoft 365/Enterprise accounts with full API access.

Inputs and outputs

Setup requires Rube MCP connected as an MCP server (no API keys needed), an active Outlook connection verified via RUBE_MANAGE_CONNECTIONS with toolkit outlook, Microsoft OAuth completion if not yet active, and always calling RUBE_SEARCH_TOOLS first to get current tool schemas.

Covers five core workflows. Search and filter emails uses OUTLOOK_SEARCH_MESSAGES with KQL syntax (from:, to:, subject:, received:, hasattachment:) across all folders, optionally followed by OUTLOOK_GET_MESSAGE and attachment listing/download tools - noting that pagination must check hitsContainers[0].moreResultsAvailable and that hitId (not resource.id) must be used as message_id downstream. Query emails in a folder uses OUTLOOK_LIST_MAIL_FOLDERS to resolve folder IDs then OUTLOOK_QUERY_EMAILS with OData filters (e.g. isRead eq false and importance eq 'high') - limited to a single folder, requiring SEARCH_MESSAGES instead for cross-folder or body-content search.

Manage calendar events covers OUTLOOK_LIST_EVENTS, OUTLOOK_GET_CALENDAR_VIEW (requiring ISO 8601 start/end datetimes and an IANA timezone), OUTLOOK_GET_EVENT, OUTLOOK_LIST_CALENDARS, and OUTLOOK_GET_SCHEDULE for free/busy - noting calendar filters must use start/dateTime properties, never email's receivedDateTime, and recurring events need expand_recurring_events=true to see individual occurrences. Manage contacts covers listing, creating (requiring only givenName or surname), and organizing via contact folders. Manage mail folders covers listing top-level and child folders and creating new ones, using well-known folder names (inbox, sentitems, drafts, deleteditems, junkemail, archive) or folder IDs for custom folders.

Documents KQL search syntax (property filters and AND/OR/parentheses combinators) and OData filter syntax for both email and calendar contexts, plus a quick-reference table mapping fifteen tasks to their tool slug and key parameters.

Integrations

Accessed via Rube MCP (https://rube.app/mcp) wrapping Composio's Outlook toolkit, authenticated through Microsoft OAuth, covering Outlook Mail, Calendar, and Contacts APIs.

Who it's for

Users automating Outlook email search, calendar management, or contact organization through an MCP-connected agent who need the exact tool sequence, KQL/OData filter syntax, and account-type limitations rather than trial-and-error API calls.

OUTLOOK_SEARCH_MESSAGES: query="from:user@example.com hasattachment:yes"

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.