Skip to content
TrustedSkillsbeta
Back to all skills

M365 Mail

Listed
probichaux·vlatest·other

This skill automates Microsoft 365 email tasks like sending and receiving messages, boosting productivity and streamlining workflows.

Install on your platform

Showing Claude Code. One command installs this skill into any of the agents below.

  1. 1

    Run this in your project

    terminal
    $ npx skills add probichaux/clawdskills --skill m365-mail -a claude-code
  2. Uses the open-source skills CLI and needs Node.js. Add -g to install it for your user instead of this project.

What we know about this skill

Publisher

probichaux

Taken from the source listing. We haven't verified who controls this account.

Install target

Live repository

Not pinned. Installing fetches whatever the repository holds at the time you run the command.

No human has reviewed this code. The checks below are a static scan of the files at one commit — nobody has run this skill or judged whether it works. A skill runs with whatever access you give your agent, so read the source before you install it.

Automated safety checks

scanned

This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.

  • No undeclared network calls: failed

    Contacts 2 hosts that are neither well-known infrastructure nor declared in the skill's frontmatter: graph.microsoft.com, login.microsoftonline.com.

    Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.

    Hosts contacted

    graph.microsoft.comundeclaredlogin.microsoftonline.comundeclared

    What it found

    • m365-mail/scripts/m365mail.py:25contacts graph.microsoft.com
      GRAPH_BASE = "https://graph.microsoft.com/v1.0"
    • m365-mail/scripts/m365mail.py:53contacts login.microsoftonline.com
      authority=f"https://login.microsoftonline.com/{config['tenant_id']}",
  • Declares what it does: passed

    SKILL.md parses and declares a name and a description.

    SKILL.md exists, its frontmatter parses, and it declares a name and a description.

  • No obfuscated payloads: passed

    No encoded or obfuscated payloads.

    No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.

  • No credential access: passed

    Reads no keys, tokens, keychains or credential files.

    Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.

  • No pipe-to-shell installers: passed

    No pipe-to-shell or download-and-run installers.

    No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.

  • Pinned to a commit: passed

    Scanned probichaux/clawdskills at 70d9d8fd0f.

    The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.

Scanned
2 files, 553 lines
This is a static scan, not a review. It reads the skill's files; it does not run them, and it cannot tell you whether the skill is any good or whether the code does what its description says. A skill runs with whatever access you give your agent.
What each check looks for →

About this skill

What it does

This skill provides a command-line interface (CLI) tool for interacting with Microsoft 365 email using the Microsoft Graph API. It allows AI agents to send and receive emails, read message content, and search inboxes. The tool automates common email tasks, enabling streamlined workflows and increased productivity within the Microsoft 365 environment.

When to use it

  • Automating repetitive email actions like sending standard replies or forwarding messages.
  • Retrieving specific email information based on keywords or sender.
  • Checking for unread emails containing important updates.
  • Integrating email interactions into larger automated workflows.
  • Reading and processing the content of individual emails programmatically.

Key capabilities

  • Sending Emails: Allows agents to send new email messages through Microsoft 365.
  • Receiving Emails: Enables retrieval of recent emails from an inbox.
  • Message Reading: Provides functionality to read full or truncated versions of email content.
  • Email Search: Supports searching for emails based on keywords, sender, and other criteria (unread status, attachments).
  • JSON Output: Offers the ability to output data in JSON format for easier parsing by other tools.

Example prompts

  • "Retrieve the last 20 unread emails from my inbox."
  • "Send an email to [email protected] with the subject 'Issue Report' and body 'Please investigate...'"
  • "Search my inbox for emails containing the phrase 'quarterly report'."

Tips & gotchas

  • Setup Required: This skill requires initial setup involving registering an Entra ID app, configuring API permissions (Mail.ReadWrite, Mail.Send), enabling a public client flow, and providing your Application (client) ID and Directory (tenant) ID.
  • Authentication: The tool uses device code flow for authentication, which will open a browser window to complete the login process.
  • Permissions: Ensure that the Entra ID app has been granted administrator consent for the necessary Microsoft Graph permissions.