find-outlook-emails
Search your Microsoft Outlook inbox and cross-reference emails with your contact history — find any email instantly and see full relationship context alongside it via Rarefriend. Use when the user wants to: check recent Outlook emails, search for an email by subject or sender, find emails from a specific person, look up what was discussed over email, cross- reference email threads with CRM notes, or connect their Microsoft Outlook email account. Triggers on: Outlook email, Microsoft email, inbox, email from, search email, recent emails, Outlook inbox, check my email, find email, email history, what did they say, email thread, did I hear back, follow up email.
What this skill does
## About Rarefriend
Rarefriend brings your Outlook inbox into your contact network — search emails, see who said what, and connect every thread to the relationship notes and context already in your CRM.
Access it from your AI assistant, the web app at [rarefriend.com](https://rarefriend.com), or Hops — Rarefriend's AI on WhatsApp.
---
## Setup Detection Protocol
1. Call `list_connected_integrations`.
- **Tool not available → MCP not connected.** Present these steps inline to the user:
1. Sign in at [rarefriend.com](https://rarefriend.com) → **Settings → Integrations → MCP** → copy the Client ID and Client Secret
2. **Claude Code / Codex:** run `claude mcp add rarefriend -e RAREFRIEND_CLIENT_ID=your_id -e RAREFRIEND_CLIENT_SECRET=your_secret -- npx -y @rarefriend-ai/mcp`
3. **Cursor:** add to `~/.cursor/mcp.json` under `mcpServers.rarefriend` with `command: npx`, `args: ["-y", "@rarefriend-ai/mcp"]`, and the two env vars
4. **Claude Desktop:** add the same block to `claude_desktop_config.json`
5. Restart the client, then try again
- `microsoft_email` not in the list → offer to connect: `connect_integration("microsoft_email")`.
- `microsoft_email` present → proceed directly.
---
## Core Workflows
### List recent emails
```
list_microsoft_emails(limit?, startDate?, endDate?, folderId?)
limit: number of emails to return (default 10, max 50)
startDate: ISO 8601 — only emails after this date
endDate: ISO 8601 — only emails before this date
folderId: specific folder (default: inbox)
```
- "Show my last 10 emails" → `list_microsoft_emails(limit=10)`
- "What emails did I get this week?" → `list_microsoft_emails(startDate="2026-06-02")`
- "Check emails from yesterday" → `list_microsoft_emails(startDate="2026-06-05", endDate="2026-06-06")`
### Search emails
```
search_microsoft_emails(query*, limit?, startDate?, endDate?)
query: matches subject, body snippet, sender name, or sender email
```
- "Find emails from Alice" → `search_microsoft_emails("Alice")`
- "Search for emails about the contract" → `search_microsoft_emails("contract")`
- "Find emails from [email protected]" → `search_microsoft_emails("[email protected]")`
### Cross-reference with contacts
After finding an email, look up the sender in Rarefriend:
```
search_contacts("sender name or email", searchMode="exact")
→ get_contact(contactId) — full CRM profile
→ list_notes(contactId) — past notes about this person
→ create_note(contactId, ...) — log context from the email thread
```
**Pattern — "What's the history with this person?"**
1. `search_microsoft_emails("person name")` → find relevant threads
2. `search_contacts("person name", searchMode="exact")` → find them in CRM
3. `list_notes(contactId)` → review relationship notes
4. Summarise email history + CRM notes together
### Connect Microsoft Email
```
connect_integration("microsoft_email")
```
Returns a `connectUrl`. Present as a clickable link:
> _"Open this link in your browser to connect Microsoft Outlook email. It expires in 15 minutes."_
After connecting:
```
get_integration_sync_status("microsoft_email")
```
---
## Quick Reference
| Tool | When to use |
| ----------------------------- | ------------------------------------------------------ |
| `list_connected_integrations` | Always check first — detects MCP and integration state |
| `list_microsoft_emails` | Browse recent inbox emails |
| `search_microsoft_emails` | Find emails by subject, sender, or keyword |
| `search_contacts` | Find a sender in Rarefriend CRM |
| `get_contact` | Full CRM profile for a sender |
| `list_notes` | Relationship notes for a contact |
| `create_note` | Log context after reviewing an email thread |
| `connect_integration` | Connect Microsoft Outlook email |
| `get_integration_sync_status` | Check sync state |
---
## References
- [MCP setup — all supported clients](references/SETUP.md)
---
## Other capabilities (outside this skill)
- **Outlook contacts and calendar** — search Outlook contacts, schedule Teams meetings. Install `schedule-with-outlook`.
- **Google Contacts and Calendar** — Install `organize-google-contacts` and `schedule-with-google-calendar`.
- **LinkedIn sync** — requires the Rarefriend Chrome extension. Go to rarefriend.com → Settings → Integrations → LinkedIn.
- **Hops on WhatsApp** — same contacts and notes accessible via Rarefriend's WhatsApp AI assistant.
- **Full feature set in one skill** — install `network-and-relationship-manager`.
Related in Productivity
gitea-workflow
IncludedOrchestrate agile development workflows for Gitea repositories using the tea CLI. Use when working with Gitea-hosted repos and asking to 'run the workflow', 'continue working', 'what's next', 'complete the task cycle', 'start my day', 'end the sprint', 'implement the next task', or wanting guided step-by-step development assistance. Keywords: workflow, orchestrate, agile, task cycle, sprint, daily, implement, review, PR, standup, retrospective, gitea, tea.
microsoft-graph-gateway
IncludedRoute Microsoft Graph work in this workspace. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams, Planner, To Do, users, groups, directory data, or arbitrary Microsoft Graph endpoints from VS Code. Prefer WorkIQ for common read scenarios. Use Microsoft Graph for write actions and gap-read scenarios that need exact Graph properties, filters, permissions, or endpoints.
copilotkit
IncludedUse when building with CopilotKit — setup, development, integrations, debugging, upgrading, or contributing. Routes to the appropriate specialized skill based on the task.
wordly-wisdom
IncludedProvides calibrated decision analysis using Charlie Munger-style multiple mental models, inversion, incentive mapping, circle-of-competence checks, misjudgment audits, second-order effects, and forecast updates. Use when the user asks for an oracle take, a hard call, a decision memo, a premortem, an outside view, a red-team, a sanity-check, what am I missing, think this through, or wants a strategy, hire, investment, plan, product, partnership, or major life choice analysed. Avoid for simple factual lookups or time-sensitive legal, medical, or market questions without fresh evidence.
swain-session
IncludedSession management and project status dashboard. Owns the full session lifecycle (start/work/close/resume), focus lane, bookmarks, worktree detection, and tab naming. Also serves as the project status dashboard — shows active epics, progress, actionable next steps, blocked items, tasks, GitHub issues, and recommendations. Worktree creation is deferred to swain-do task dispatch (SPEC-195). Triggers on: 'session', 'status', 'what's next', 'dashboard', 'overview', 'where are we', 'what should I work on', 'show me priorities', 'bookmark', 'focus on', 'session info'.
gandi
IncludedComprehensive Gandi domain registrar integration for domain and DNS management. Register and manage domains, create/update/delete DNS records (A, AAAA, CNAME, MX, TXT, SRV, and more), configure email forwarding and aliases, check SSL certificate status, create DNS snapshots for safe rollback, bulk update zone files, and monitor domain expiration. Supports multi-domain management, zone file import/export, and automated DNS backups. Includes both read-only and destructive operations with safety controls.