m365-mailboxAutomate Microsoft 365 mailbox tasks via Microsoft Graph: read, search, draft, send emails for Business and Consumer accounts with device code authentication.
Install via ClawdBot CLI:
clawdbot install tradmangh/m365-mailboxpackage.json.cd skills/m365-mailbox
npm install
~/.openclaw/secrets/m365-mailbox/During setup, the user chooses:
1) What Graph permissions to request (minimal vs broad)
2) What OpenClaw is allowed to do autonomously vs what must ask for confirmation
Two modes:
hotmail.com, outlook.com, live.comnode skills/m365-mailbox/scripts/setup.mjs --profile home --tenant consumers --email you@outlook.com --clientId <YOUR_APP_CLIENT_ID> --tz Europe/Vienna
node skills/m365-mailbox/scripts/setup.mjs --profile business --tenant organizations --email you@company.com --clientId <IT_PROVIDED_CLIENT_ID> --tz Europe/Vienna
node skills/m365-mailbox/scripts/list-unread.mjs --profile home --top 20
node skills/m365-mailbox/scripts/search.mjs --profile home --query "invoice" --top 20
node skills/m365-mailbox/scripts/get-message.mjs --profile home --id <MSG_ID>
node skills/m365-mailbox/scripts/create-draft.mjs --profile home --to you@example.com --subject "Hi" --body "..."
node skills/m365-mailbox/scripts/send-draft.mjs --profile home --id <DRAFT_ID>
Many tenants block:
Mail.Send or Mail.ReadWrite without admin consentIn that case this skill can still work for Business accounts, but only if your IT/SysAdmin provides a clientId for an app registration configured with:
Mail.Read, Mail.ReadWrite, Mail.Send, (optional) offline_accessIf you donβt get such a clientId/consent from IT, you can still use the skill with a Consumer account.
Generated Mar 1, 2026
Automates personalized email outreach by creating and sending drafts to prospects using Microsoft Graph. Useful for sales teams to manage follow-ups and track responses directly from their M365 mailbox, integrating with CRM data for targeted campaigns.
Monitors unread emails and searches for keywords like 'invoice' or 'issue' to prioritize support requests. Enables agents to quickly read messages and draft replies, streamlining response times and improving customer satisfaction in service-oriented businesses.
Facilitates secure email handling for legal teams by searching and reading messages related to cases or contracts. Allows creating drafts for client correspondence while maintaining compliance with data privacy standards using local token storage.
Helps project managers coordinate tasks by listing unread emails from team members and creating draft updates. Integrates with M365 Business accounts to manage communications across distributed teams, enhancing collaboration without third-party APIs.
Assists freelancers in managing personal and client emails by searching for specific queries and automating replies. Uses M365 Home/Consumer accounts to handle inbox clutter, draft responses, and schedule sends, boosting productivity for solo professionals.
Offers tiered subscription plans for businesses, providing advanced features like bulk email automation and analytics. Revenue is generated through monthly or annual fees, targeting SMEs that need scalable M365 mailbox automation without upfront IT costs.
Provides a free version with basic email listing and search capabilities, while premium tiers unlock features like draft creation and sending. Revenue comes from upgrades, appealing to individual users and small teams looking to test before committing.
Sells enterprise licenses with custom integrations, dedicated support, and compliance features for large organizations. Revenue is driven by high-value contracts, including setup assistance and ongoing maintenance for IT-managed M365 environments.
π¬ Integration Tip
Ensure proper Graph permissions are configured based on user consent modes, and use local token storage to maintain security without third-party dependencies.
Interact with Google Calendar via the Google Calendar API β list upcoming events, create new events, update or delete them. Use this skill when you need programmatic access to your calendar from OpenClaw.
Read, search, and manage Outlook emails and calendar via Microsoft Graph API. Use when the user asks about emails, inbox, Outlook, Microsoft mail, calendar events, or scheduling.
Google Calendar via gcalcli: today-only agenda by default, bounded meaning-first lookup via agenda scans, and fast create/delete with verification--optimized for low tool calls and minimal output.
This skill should be used when interacting with Apple Calendar on macOS. Use it for listing calendars, viewing events, creating/updating/deleting calendar events, and checking availability/free-busy times. Triggers on requests like "check my calendar", "schedule a meeting", "what's on my schedule", "am I free tomorrow", or any calendar-related operations.
Access and manage Google Calendar events with gogcli for cross-calendar agendas, keyword search, and filtered outputs avoiding unwanted calendars like holidays.
Daily morning rollup of important emails and calendar events at 8am with AI-generated summaries