declarative-agent-deve…
Create, build, deploy, and localize declarative agents for M365 Copilot and Teams. Use the wiqd CLI for all declarative-agent…
Analyze your email patterns over a time period — volume trends, top senders, response time estimates, busiest days, and unread backlog statistics.
$ npx -y skills add microsoft/work-iq --skill email-analytics --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/email-analyticsContext preview
The summary Claude sees to decide when to auto-load this skill.
Analyze your email patterns over a time period — volume trends, top senders, response time estimates, busiest days, and unread backlog statistics.
name: email-analytics description: Analyze your email patterns over a time period — volume trends, top senders, response time estimates, busiest days, and unread backlog statistics.
Get a data‑driven view of your email life. This skill scans your inbox and sent folder over a time period, crunches the numbers, and presents a formatted analytics dashboard — volume by day, top senders, response patterns, busiest hours, flagged backlogs, and unread trends. Use it to understand your communication load and identify where your email time goes.
workiq-ask ( question: "What is my profile information including display name and email address?" )
Extract **displayName** and **mail** for report personalization.
Pull all received emails across the analysis period:
workiq-ask ( question: "List all emails I received in the last <time period>. For each email include the sender name and email, subject, received date and time, read/unread status, importance level, whether it has attachments, and flag status." )
For longer periods, run multiple queries to capture the full window:
Pull all sent emails for response analysis:
workiq-ask ( question: "List all emails I sent in the last <time period>. For each email include the recipients, subject, sent date and time, and whether it has attachments." )
Collect for each message (received and sent):
Aggregate the data into the following metrics:
**Volume Metrics:**
**Temporal Patterns:**
**People Metrics:**
**Status Metrics:**
📊 EMAIL ANALYTICS — {displayName}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📅 Period: {start date} → {end date} ({N} days)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📬 VOLUME OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📥 Received: {total received} ({daily avg}/day)
📤 Sent: {total sent} ({daily avg}/day)
📈 Ratio: {received:sent ratio}
📬 Unread: {unread count} ({unread %}%)
🚩 Flagged: {flagged count}
⚡ High Priority: {high importance count}
📅 VOLUME BY DAY OF WEEK
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Mon │ ████████████████████░░░░░ 82
Tue │ ███████████████████████░░ 94 ← busiest
Wed │ ██████████████████░░░░░░░ 73
Thu │ █████████████████████░░░░ 86
Fri │ ██████████████░░░░░░░░░░░ 58
Sat │ ███░░░░░░░░░░░░░░░░░░░░░ 12
Sun │ ██░░░░░░░░░░░░░░░░░░░░░░ 8
👤 TOP SENDERS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
#1 Firstname1 Lastname1 │ 34 emails │ ████████████████
#2 notifications@jira │ 28 emails │ █████████████
#3 Firstname2 Lastname2 │ 22 emails │ ██████████
#4 Firstname3 Lastname3 │ 18 emails │ ████████
#5 build-alerts@ci │ 15 emails │ ███████
#6 Firstname4 Lastname4 │ 14 emails │ ██████
#7 calendar@outlook │ 12 emails │ █████
#8 Firstname5 Lastname5 │ 10 emails │ ████
#9 newsletter@company │ 9 emails │ ████
#10 help-desk@contoso │ 7 emails │ ███
👤 TOP RECIPIENTS (your sent mail)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
#1 Firstname1 Lastname1 │ 19 emails
#2 Firstname2 Lastname2 │ 14 emails
#3 Manager: Firstname6 Lastname6 │ 11 emails
#4 Firstname3 Lastname3 │ 9 emails
#5 Team DL │ 8 emails
📎 ATTACHMENT STATS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📎 Emails with attachments: {count} ({percentage}%)
📊 Most common types: PDF, XLSX, DOCX
🔍 INSIGHTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 Tuesday is your busiest email day — consider blocking focus time.
💡 {unread count} unread emails — consider triaging your inbox.
💡 {percentage}% of received email is from automated systems.
💡 You send {ratio} emails for every {N} received.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━A formatted analytics dashboard with bar charts for volume trends, ranked sender/recipient tables, attachment statistics, and actionable insights. Bar charts use Unicode block characters for visual representation.
| Parameter | Required | Default | Description | |-----------|----------|---------|-------------| | Time period | No | Last 7 days | Analysis window (e.g., "this month", "last 30 days", "this quarter") | | Include sent | No | true | Whether to analyze outgoing emails too | | Detail level | No | full | `summary` (volume only) or `full` (all sections) | | Show insights |
The official Microsoft Work IQ plugin collection for GitHub Copilot ✨ Extend the power of GitHub Copilot with Work IQ plugins — MCP servers, skills, and tools that connect AI assistants to your Microsoft 365 data.
Create, build, deploy, and localize declarative agents for M365 Copilot and Teams. Use the wiqd CLI for all declarative-agent…
Install or update the M365 Agents Toolkit (ATK) CLI and VS Code extension. Triggers: "install atk", "update atk", "install agents…
Use this skill when a user wants to create, run, or analyze evaluation suites for Microsoft 365 Copilot declarative agents with…
Adds Microsoft Entra SSO (single sign-on, no OBO) to a Microsoft 365 Copilot declarative agent whose tools are served by an MCP…
Build, test, and deploy code-based Teams apps using the M365 Agents Toolkit CLI. USE FOR: Custom Engine Agents (CEA), Teams bots,…
Sub-skill of microsoft-365-agents-toolkit. Routed expert system with 100+ micro-expert files for migrating Slack bots to Teams,…