Xpersona
M

Microsoft 365 Email & Calendar

CLAWHUB · Unverified

Microsoft 365 Email & Calendar CLI via Microsoft Graph API. Supports multiple accounts. Skill: Microsoft 365 Email & Calendar Owner: droba07 Summary: Microsoft 365 Email & Calendar CLI via Microsoft Graph API. Supports multiple accounts. Tags: latest:1.2.0 Version history: v1.2.0 | 2026-04-16T15:06:54.574Z | user inbox/unread/search show [index] + message ID; mail read accepts index (1,2,3) or no arg for latest; attachments listed with name/size on read v1.1.0 | 2026-04-15T09:05:41.732Z | user Add check

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17bh0nstk2t4b4vv11tb0rep184vaej:ms365-mail-calendar
  1. Node.js workspace detected. Install dependencies securely: run `npm ci --ignore-scripts` to prevent post-install lifecycle triggers from running arbitrary code, then selectively audit the dependency tree.
  2. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  3. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-droba07-ms365-mail-calendar/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

9,561 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: ms365
description: Microsoft 365 Email & Calendar CLI via Microsoft Graph API. Supports multiple accounts.
metadata: {"openclaw":{"emoji":"🟦","requires":{"bins":["node"],"env":["MICROSOFT_CLIENT_ID"]}}}
---

# ms365

Microsoft 365 CLI for Email & Calendar via Graph API. Multi-account support.

## Setup (once per account)
1. Register app in Azure Portal → App registrations → New → Public client (mobile & desktop)
2. Enable "Allow public client flows" (Device Code Flow)
3. API permissions: `Mail.Read`, `Mail.Send`, `Calendars.ReadWrite`, `User.Read`
4. Set env: `MICROSOFT_CLIENT_ID=<your-app-id>` and optionally `MICROSOFT_TENANT_ID`
5. Run: `node skills/ms365/index.js --account work login`

## Commands
- Login: `node index.js --account work login`
- Who am I: `node index.js --account work whoami`
- Inbox: `node index.js --account work mail inbox --top 10`
- Unread: `node index.js --account work mail unread`
- Read: `node index.js --account work mail read <id>`
- Send: `node index.js --account work mail send --to a@b.com --subject "Hi" --body "Hello"`
- Search: `node index.js --account work mail search "invoice"`
- Calendar: `node index.js --account work calendar --from 2026-04-14T00:00:00Z --to 2026-04-14T23:59:59Z`
- Create event: `node index.js --account work calendar-create --subject "Meeting" --start 2026-04-15T10:00 --end 2026-04-15T11:00`

## Multi-account
Use `--account <name>` to switch. Each account has separate tokens stored in `~/.openclaw/credentials/`.

## Notes
- Device Code Flow — authenticate in browser, no secrets stored
- Tokens auto-refresh
- Confirm before sending emails

_meta.json

{
  "ownerId": "kn7f2dq0btd59c5egvdjv24yzh84vtc6",
  "slug": "ms365-mail-calendar",
  "version": "1.2.0",
  "publishedAt": 1776352014574
}

skill-card.md

## Description:

Microsoft 365 Email & Calendar CLI via Microsoft Graph API. Supports multiple accounts.

This skill is ready for commercial/non-commercial use.

## Publisher:

[droba07](https://clawhub.ai/user/droba07)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and operators use this skill to authenticate to Microsoft 365, inspect inbox and calendar data, send email, and create calendar events through Microsoft Graph from a command-line workflow.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can send email and create calendar events through Microsoft Graph, and the security evidence notes weak or misleading safeguards for these user-impacting actions.

Mitigation: Review commands before execution, use the least-privilege Microsoft app registration possible, and avoid granting access to accounts that should not be controlled by this CLI.

Risk: Authentication tokens are stored locally for each named account.

Mitigation: Protect the local credential directory, restrict filesystem access to the user running the skill, and remove stored account tokens when access is no longer needed.

Risk: Mail sending and calendar creation occur without an actual confirmation prompt in the current code.

Mitigation: Require human review of send and calendar-create command arguments before running the skill in workflows that affect real users.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/droba07/skills/ms365-mail-calendar)
- [Microsoft Graph API v1.0](https://graph.microsoft.com/v1.0)

## Skill Output:

**Output Type(s):** [Text, API Calls, Shell commands, Configuration]

**Output Format:** [Command-line text with Microsoft Graph email and calendar results]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires Node.js and MICROSOFT_CLIENT_ID; supports separate named Microsoft 365 accounts.]

## Skill Version(s):

1.2.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

package.json

{
  "name": "ms365-cli",
  "version": "1.0.0",
  "description": "Microsoft 365 Email & Calendar CLI via Graph API",
  "main": "index.js",
  "dependencies": {}
}

Sponsored

Ads related to Microsoft 365 Email & Calendar and adjacent AI workflows.