m365-mail

Retrieve accounting documents from Microsoft 365 mailboxes via the Microsoft Graph API.

Updated May 30, 2026
One-click install
npx skills add https://github.com/InnerScopeHearing/otchealth-claude-tools --skill m365-mail
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: m365-mail
Source: https://github.com/InnerScopeHearing/otchealth-claude-tools/tree/main/skills/m365-mail
Command: npx skills add https://github.com/InnerScopeHearing/otchealth-claude-tools --skill m365-mail

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires otchealth-cto-graph-admin, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the search and recovery of accounting source documents (invoices, statements, etc.) from the InnerScope Microsoft 365 tenant's email, streamlining the process of reconstructing financials for the CFO and finance team.

Core Features & Use Cases

  • Email Search: Efficiently search email accounts for accounting documents.
  • Document Recovery: Extract and save source documents for financial reconciliation.
  • Use Case: CFOs and finance agents can utilize this Skill to locate financial documents like invoices, statements, and receipts within Microsoft 365, improving efficiency and accuracy in financial record-keeping.

Quick Start

Run the 'm365-mail search [email protected] "invoice"' command to search for invoices in the [email protected] email account.

Frequently Asked Questions about m365-mail

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

FAQPage Schema
How do I search for accounting source documents in Microsoft 365 email?

To search for accounting source documents in Microsoft 365 email, you can automate retrieval using the Microsoft Graph API by targeting specific mailbox scopes and searching based on QuickBooks vendor lists and keyword criteria. This extracts email content, subjects, and attachments for financial archival.

Can I extract invoices from the FINANCE mailbox using Microsoft Graph API?

Yes, you can extract invoices from the FINANCE mailbox using the Microsoft Graph API. The automation targets the FINANCE mailbox scope and extracts email content, subject matter, and attachments suitable for reconstructing financials and document recovery.

Do I need OAuth permissions to retrieve accounting documents from Microsoft 365?

Yes, you need appropriate OAuth permissions to access and retrieve user mailboxes and their content from Microsoft 365. These permissions are required to authorize the Microsoft Graph API to search and extract financial documents securely.

How does searching email with a QuickBooks vendor list work for document recovery?

Searching email with a QuickBooks vendor list works by using the vendor names as keyword criteria to query the Microsoft 365 tenant. This filters and retrieves matching email content and attachments to recover specific accounting source documents.

What is the best way to automate financial document recovery from Microsoft 365?

The best way to automate financial document recovery from Microsoft 365 is by running a script that utilizes the Microsoft Graph API to search targeted mailboxes. This streamlines locating invoices and statements for the finance team without manual searching.

Are there limitations to searching for source documents in Microsoft 365 email?

Limitations to searching for source documents in Microsoft 365 email include requiring appropriate OAuth permissions for access and depending on the Microsoft Graph API's scope. Additionally, search accuracy relies on matching the QuickBooks vendor lists and keyword criteria provided.