microsoft-365

Automate Outlook mail and calendar operations via Microsoft Graph API.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/repairman29/jarvis-rog-ed --skill microsoft-365
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: microsoft-365
Source: https://github.com/repairman29/jarvis-rog-ed/tree/main/skills/microsoft-365
Command: npx skills add https://github.com/repairman29/jarvis-rog-ed --skill microsoft-365

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides programmatic access to Outlook mail and Calendar via Microsoft Graph API, enabling automated email and scheduling workflows and reducing manual task load.

Core Features & Use Cases

  • List, read, and send Outlook emails
  • List calendar events and create new events
  • Automate common workflows like triaging messages and scheduling meetings
  • Integrate email/calendar actions into broader automation within the gateway

Quick Start

  1. Set up an Azure AD app with the required Graph permissions and configure environment variables MICROSOFT_CLIENT_ID, MICROSOFT_CLIENT_SECRET, and MICROSOFT_REFRESH_TOKEN (e.g., in ~/.clawdbot/.env).
  2. Run node skills/microsoft-365/oauth-helper.js once to perform OAuth and store the refresh token.
  3. Copy this folder to your workspace under skills/ or configure the gateway to load extra dirs, then restart the gateway.

Frequently Asked Questions about microsoft-365

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate sending Outlook emails using the Microsoft Graph API?

You can automate sending Outlook emails using the Microsoft Graph API by configuring this Skill with your Azure AD app credentials and running the provided OAuth helper script once to obtain a refresh token for authentication. This enables automated email workflows.

Do I need an Azure AD app to access Outlook calendar events programmatically?

Yes, accessing Outlook calendar events programmatically requires an Azure AD app configured with the necessary Microsoft Graph permissions. You must set up the MICROSOFT_CLIENT_ID, MICROSOFT_CLIENT_SECRET, and MICROSOFT_REFRESH_TOKEN environment variables to authenticate API requests.

How do I get a Microsoft Graph OAuth refresh token for email automation?

To get a Microsoft Graph OAuth refresh token for email automation, run the Node.js helper script located at skills/microsoft-365/oauth-helper.js after configuring your Azure AD app credentials in the environment. This one-time setup stores the token for automated authentication.

Can I list and read Outlook emails automatically without manual login?

You can list and read Outlook emails automatically without manual login by using a stored OAuth refresh token. After the initial one-time setup process generates the token, the Skill handles authentication automatically to access your mailbox via the Graph API.

What is the best way to create Outlook calendar events via automation?

The best way to create Outlook calendar events via automation is using the Microsoft Graph API through this Skill. After completing the OAuth setup with your Azure AD credentials, you can programmatically list existing events and create new ones to support daily scheduling workflows.

What limitations exist when automating Outlook mail and calendar workflows?

Automating Outlook mail and calendar workflows requires a one-time OAuth setup process and valid Azure AD application credentials. Without the proper MICROSOFT_CLIENT_ID, MICROSOFT_CLIENT_SECRET, and MICROSOFT_REFRESH_TOKEN environment variables configured, the Graph API authentication will fail.