# M365 Mail

> M365 Mail is an Agent Skill for apps & automation published in the rcarmo/piclaw repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

List, search, or read mailbox messages via Microsoft Graph.

- Skill name: `m365-mail`
- Category: [Apps & Automation](https://www.openparable.com/skill/apps-automation/1)
- Source: https://github.com/rcarmo/piclaw/blob/HEAD/runtime/extensions/experimental/m365/skills/m365-mail/SKILL.md
- Repository: rcarmo/piclaw (792 GitHub stars when collected)

## SKILL.md

# M365 Mail

Use this skill to work with Outlook mail messages.

## Workflow

1. Start with `action=list` or a constrained `action=search` via the `m365_mail` tool.
2. Open specific messages by ID with `action=read`.
3. Summarize sender, subject, date, and action items.
4. For drafts and replies, use `action=draft`, `action=reply`, or `action=forward` — these create drafts only, never send directly.
5. Attach local files with `attachments='path1;path2'` (max 3MB per file, semicolon-separated).

## Guardrails

- Avoid dumping full message bodies unless the user requests it.
- Keep results scoped with `top`.
- For batch operations (`batch_delete`, `batch_move`, `batch_archive`, `batch_flag`), always use `dryRun=true` first.
- Confirm with the user before destructive actions.

---

Source: https://www.openparable.com/skill/apps-automation/m365-mail (OpenParable). Cite the canonical URL above.
