Agent skill

outlook-emails-lawvable

Read, search, and download emails and attachments from Microsoft Outlook via OAuth2. Use when the user asks to (1) check, read, or fetch emails or messages from Outlook, (2) search emails by keyword, sender, or subject, (3) download email attachments such as contracts, NDAs, or documents, (4) chain email content into other skills (e.g. "read the latest email from X and review the attached NDA"), or (5) any task involving Microsoft Outlook, Office 365, or Exchange email access.

Stars 228
Forks 19

Install this agent skill to your Project

npx add-skill https://github.com/lawvable/awesome-legal-skills/tree/main/skills/outlook-emails-lawvable

Metadata

Additional technical details for this skill

author
Malik Taiar (Lawvable)
license
AGPL-3.0
version
2026.02.02

SKILL.md

Outlook Email Integration (Read-Only)

Overview

What this skill does What it does NOT do
Read and search Outlook emails Send emails
Download email attachments Store any data between sessions
Integrate with other Skills (NDA, contracts) Require any technical setup

Getting Started

No configuration needed. Just run the skill and sign in with your Microsoft account.

Read emails

bash
# Last 10 emails
uv run .agents/skills/outlook-emails-lawvable/scripts/outlook_oauth.py

# Last 5 emails
uv run .agents/skills/outlook-emails-lawvable/scripts/outlook_oauth.py --limit 5

Search emails

bash
# Search by keyword
uv run .agents/skills/outlook-emails-lawvable/scripts/outlook_oauth.py --search "NDA"

# Search by sender
uv run .agents/skills/outlook-emails-lawvable/scripts/outlook_oauth.py --from "jean@example.com"

Download attachments

bash
uv run .agents/skills/outlook-emails-lawvable/scripts/outlook_oauth.py --download

Authentication

Each run opens a browser window for Microsoft login. Sign in with your Microsoft account and accept the permissions.

Read-only access. The skill only requests permission to read your emails and your profile. It cannot send emails or modify anything.

Zero data retention. No token is stored between sessions. Each time you run the skill, you authenticate fresh. Nothing is cached on disk.

Your password is never shared with Lawvable.


Integration with Other Skills

Example: Email → NDA Review

User: "Read the latest email from jean@partner.com and review
       the NDA attachment using the NDA skill"

Claude will:
1. Use outlook_oauth.py to fetch the email
2. Download the .docx attachment
3. Use nda-review-jamie-tso skill to analyze
4. Return the issue log with redlines

Advanced: Use Your Own Azure App

If you prefer to use your own Azure App Registration, set this environment variable:

AZURE_CLIENT_ID=your-client-id

See references/AZURE_SETUP.md for the full setup guide.

Expand your agent's capabilities with these related and highly-rated skills.

lawvable/awesome-legal-skills

docx-processing-anthropic

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.

228 19
Explore
lawvable/awesome-legal-skills

privacy-policy-malik-taiar

Guide for drafting privacy policies compliant with GDPR. Includes CNIL 2020 recommendations, a reference template, and best practices. Use when drafting or revising a privacy policy for a website or application.

228 19
Explore
lawvable/awesome-legal-skills

xlsx-processing-anthropic

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.

228 19
Explore
lawvable/awesome-legal-skills

legal-simulation-patrick-munro

Framework for demonstrating AI capabilities in legal contexts. Provides detailed personas across tenant law, business contracts, startup disputes, employment claims, and consumer protection with progressive complexity scenarios. Use when: (1) Demonstrating AI-powered legal triage or intake systems, (2) Showcasing responsible AI-assisted client interactions, (3) Training staff on appropriate AI use in legal contexts, (4) Creating realistic scenarios for legal tech presentations, (5) Developing educational materials about AI in legal services, or (6) Testing AI-powered legal information systems in controlled environments.

228 19
Explore
lawvable/awesome-legal-skills

contract-review-anthropic

Review contracts against your organization's negotiation playbook, flagging deviations and generating redline suggestions. Use when reviewing vendor contracts, customer agreements, or any commercial agreement where you need clause-by-clause analysis against standard positions.

228 19
Explore
lawvable/awesome-legal-skills

cookie-policy-malik-taiar

Guide for drafting cookie policies compliant with GDPR and the ePrivacy Directive. Includes CNIL 2020 recommendations, a reference template, and best practices. Use when drafting or revising a cookie policy for a website or application.

228 19
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results