m365-mailbox
tradmangh द्वारा
Search & Researchसंक्षिप्त
MS365 / Microsoft365 mailbox automation via Microsoft Graph for Microsoft 365 (M365) Business (work/school.
विवरण
यह स्किल क्या करती है
Automates Microsoft 365 mailbox operations via the Microsoft Graph API. Supports both Business (Exchange Online) and Consumer (outlook.com, hotmail.com, live.com) accounts. Covers reading, searching, drafting, sending, replying, and forwarding email using device-code authentication with tokens stored locally.
Authentication goes directly through your own Microsoft login without routing credentials through any third-party service, so mail data never leaves your machine.
इसे कब इस्तेमाल करें
- Listing unread emails from an Outlook.com inbox on a schedule
- Searching a work Exchange mailbox for invoices or receipts
- Creating and sending email drafts without opening a browser
- Automating triage across multiple M365 profiles
- Forwarding messages programmatically from a consumer or business account
उदाहरण वर्कफ़्लो
User asks: Find any unread emails about invoices and show me the details
- 1
Run list-unread.mjs to fetch recent unread messages
- 2
Run search.mjs with query 'invoice' against the mailbox
- 3
Collect message IDs from matching results
- 4
Retrieve full message bodies with get-message.mjs for each match
- 5
Return subjects, senders, and body excerpts to the user
A list of unread invoice-related emails with sender, subject, date, and body preview
आवश्यकताएँ
- Microsoft 365 account (Business or Consumer)
- Azure App Registration client ID (self-created or IT-provided for Business accounts)
इंस्टॉलेशन
clawhub install tradmangh/m365-mailboxCLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।