M365 Mail
Apps & Automationm365-mailM365 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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/rcarmo/piclaw/blob/HEAD/runtime/extensions/experimental/m365/skills/m365-mail/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/m365-mail, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
M365 Mail
Use this skill to work with Outlook mail messages.
Workflow
- Start with
action=listor a constrainedaction=searchvia them365_mailtool. - Open specific messages by ID with
action=read. - Summarize sender, subject, date, and action items.
- For drafts and replies, use
action=draft,action=reply, oraction=forward— these create drafts only, never send directly. - 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 usedryRun=truefirst. - Confirm with the user before destructive actions.