Agent skill

Outlook Emails Lawvable

by lawve-ai in lawve-ai/awesome-legal-skills

Read, search, and download emails and attachments from Microsoft Outlook via OAuth2.

AGPL-3.0Auto-check passedLegal & Compliance

Install Outlook Emails Lawvable

skills CLI
$ npx skills add lawve-ai/awesome-legal-skills --skill outlook-emails-lawvable -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install lawve-ai/awesome-legal-skills outlook-emails-lawvable --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/lawve-ai/awesome-legal-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/outlook-malik-taiar .claude/skills/outlook-emails-lawvable && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
outlook-emails-lawvable
GitHub stars
847
Token cost
~672 tokens
SKILL.md length
167 words
Files
6 (incl. scripts, references)
Skills in repo
154
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Read, search, and download emails and attachments from Microsoft Outlook via OAuth2.

  • The user asks to
  • SKILL.md covers Overview, Getting Started, Authentication and Integration with Other Skills, plus 1 more section
  • Runs Python scripts from its folder; calls uv and claude
  • Messages from Outlook

What it does

Outlook Emails Lawvable is an agent skill from lawve-ai/awesome-legal-skills. 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.

Its SKILL.md is about 670 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `README.md`, `references/AZURE_SETUP.md` and `references/WORKFLOWS.md`).

It sits in Legal & Compliance, covering Contract review, OAuth and OpenID Connect and Cloud office suites. It works with Microsoft Outlook, Microsoft 365 and Microsoft Azure. The repository describes itself as: A curated list of awesome Agent Skills for automating legal work. The licence is AGPL-3.0.

When your agent uses it

  • The user asks to
  • Messages from Outlook
  • Search emails by keyword
  • Download email attachments such as contracts

Example prompts

  • “read the latest email from X and review the attached NDA”
  • “/outlook-emails-lawvable”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 045f738. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • uv
    • claude

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Outlook Emails Lawvable loads about 672 tokens when it runs, and up to ~2.4k if it reads all its reference files. Until then it costs about 126 tokens; SKILL.md has 167 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~126
When it runs · the whole SKILL.md, loaded when a task matches
~672
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from lawve-ai/awesome-legal-skills at commit 045f738, republished under its AGPL-3.0 licence (© lawve-ai). 167 words, ~672 tokens.

Download SKILL.mdSave it as .claude/skills/outlook-emails-lawvable/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
outlook-emails-lawvable
description
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.
metadata.author
Malik Taiar (Lawvable)
metadata.license
AGPL-3.0
metadata.version
2026.02.02

Outlook Email Integration (Read-Only)

Overview

What this skill doesWhat it does NOT do
Read and search Outlook emailsSend emails
Download email attachmentsStore 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.

© lawve-ai, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts, references) in skills/outlook-malik-taiar of lawve-ai/awesome-legal-skills.

  • SKILL.md
  • LICENSE.txt
  • README.md
  • references/AZURE_SETUP.md
  • references/WORKFLOWS.md
  • scripts/outlook_oauth.py

Open the folder on GitHubat commit 045f738

Compare with similar skills

Outlook Emails Lawvable next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Outlook Emails Lawvable compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Outlook Emails Lawvable this skilllawve-ai/awesome-legal-skills847—~672Automated safety check: PassAGPL-3.0
M365 Agent Evaluatormicrosoft/work-iq1k—~2kAutomated safety check: NotesCustom licence
Entra Agent Idmicrosoft/GitHub-Copilot-for-Azure2552 repos~4kAutomated safety check: PassMIT
Slack To Teamsmicrosoft/work-iq1k1 repos~2.3kAutomated safety check: PassCustom licence
Detecting OAuth Token Theftmukul975/Anthropic-Cybersecurity-Skills34k—~3.2kAutomated safety check: PassApache-2.0
Implementing Zero Trust For SaaS Applicationsmukul975/Anthropic-Cybersecurity-Skills34k—~2.9kAutomated safety check: PassApache-2.0

Similar skills

  • M365 Agent Evaluator

    microsoft/work-iq

    Official

    A skill your agent uses when a user wants to create, run, or analyze evaluation suites for Microsoft 365 Copilot declarative agents with the public @microsoft/m365-copilot-eval CLI.

    1k GitHub stars~2k tokensUpdated yesterday
    Documents & OfficeAuto-check: notes
  • Entra Agent Id

    microsoft/GitHub-Copilot-for-Azure

    Official

    Provision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agent Identities via Microsoft Graph, and configure OAuth 2.0 token exchange (fmipath, OBO, cross-tenant)…

    255 GitHub starsUsed in 2 repos~4k tokens
    Backend & APIsAuto-check passed
  • Slack To Teams

    microsoft/work-iq

    Official

    Sub-skill of microsoft-365-agents-toolkit. An agent skill from microsoft/work-iq.

    1k GitHub starsUsed in 1 repo~2.3k tokens
    Documents & OfficeAuto-check passed
  • Detecting OAuth Token Theft

    mukul975/Anthropic-Cybersecurity-Skills

    Detect and respond to OAuth token theft and replay in Microsoft Entra ID (Azure AD), covering access token theft, refresh token replay, Primary Refresh Token (PRT) abuse, pass-the-cookie attacks…

    34k GitHub stars~3.2k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Implementing Zero Trust For SaaS Applications

    mukul975/Anthropic-Cybersecurity-Skills

    Secures SaaS apps (Microsoft 365, Google Workspace, Salesforce, Slack) via CASB/SSPM deployment, conditional access policies, OAuth app governance, and session-level DLP controls enforcing identity…

    34k GitHub stars~2.9k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Entra Agent User

    github/awesome-copilot

    Official

    Create Agent Users in Microsoft Entra ID from Agent Identities, enabling AI agents to act as digital workers with user identity capabilities in Microsoft 365 and Azure environments.

    40k GitHub starsUsed in 1 repo~2.3k tokens
    Documents & OfficeAuto-check passed

More from lawve-ai/awesome-legal-skills

All 154 skills in this repo
  • Customs Trade Law Onur Kafkas

    lawve-ai/awesome-legal-skills

    U.S. An agent skill from lawve-ai/awesome-legal-skills.

    847 GitHub stars~4.1k tokensUpdated 8 days ago
    Auto-check passed
  • Eu Data Act Oliver Schmidt Prietz

    lawve-ai/awesome-legal-skills

    Practitioner skill for advising on EU Regulation 2023/2854 (Data Act).

    847 GitHub stars~3.9k tokensUpdated 8 days ago
    Auto-check passed
  • Litigation Deadline Calendar

    lawve-ai/awesome-legal-skills

    Calendar litigation and arbitration deadlines from a scheduling order.

    847 GitHub stars~4.3k tokensUpdated 8 days ago
    Auto-check passed
  • Ambiguity Report

    lawve-ai/awesome-legal-skills

    Turn an interpretive-ambiguity audit of a legal text — contract, statute, regulation, or judicial opinion — into a polished deliverable.

    847 GitHub stars~4.6k tokensUpdated 8 days ago
    Auto-check passed
  • Az Eu Website Privacy Audit

    lawve-ai/awesome-legal-skills

    Audits a website for compliance with Azerbaijan's Law on Personal Data No.

    847 GitHub stars~3.8k tokensUpdated 8 days ago
    Auto-check passed
  • Cookie Policy Malik Taiar

    lawve-ai/awesome-legal-skills

    Guide for drafting cookie policies compliant with GDPR and the ePrivacy Directive.

    847 GitHub stars~3k tokensUpdated 8 days ago
    Auto-check passed

Questions about Outlook Emails Lawvable

What does Outlook Emails Lawvable do?

Read, search, and download emails and attachments from Microsoft Outlook via OAuth2. Outlook Emails Lawvable is an agent skill from lawve-ai/awesome-legal-skills. Read, search, and download emails and attachments from Microsoft Outlook via OAuth2.

When should I use Outlook Emails Lawvable?

Outlook Emails Lawvable fits situations like: the user asks to; messages from Outlook; search emails by keyword; download email attachments such as contracts.

How do I install Outlook Emails Lawvable in Claude Code?

Run `npx skills add lawve-ai/awesome-legal-skills --skill outlook-emails-lawvable -a claude-code`. Or copy the skill folder (skills/outlook-malik-taiar in lawve-ai/awesome-legal-skills) into .claude/skills/outlook-emails-lawvable in your project. Claude Code loads it when a task matches its description.

How do I install Outlook Emails Lawvable in Codex?

Run `npx skills add lawve-ai/awesome-legal-skills --skill outlook-emails-lawvable -a codex`. Or copy the skill folder (skills/outlook-malik-taiar in lawve-ai/awesome-legal-skills) into .agents/skills/outlook-emails-lawvable in your project. Codex loads it when a task matches its description.

Can I use Outlook Emails Lawvable in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lawve-ai/awesome-legal-skills --skill outlook-emails-lawvable -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/outlook-emails-lawvable, .gemini/skills/outlook-emails-lawvable, .github/skills/outlook-emails-lawvable and .opencode/skills/outlook-emails-lawvable in your project.

What does Outlook Emails Lawvable need to run?

Going by SKILL.md and its folder, Outlook Emails Lawvable needs Python for the scripts in its folder and the command-line tools its instructions call (uv and claude). Our summary lists: Python 3.

Does Outlook Emails Lawvable access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Outlook Emails Lawvable safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Outlook Emails Lawvable use?

Outlook Emails Lawvable is published under the AGPL-3.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Outlook Emails Lawvable use?

About 672 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.8k tokens, read only when the agent opens those files.

What are the alternatives to Outlook Emails Lawvable?

Skills that share tags, products or a category with Outlook Emails Lawvable: M365 Agent Evaluator (microsoft/work-iq, 1k stars), Entra Agent Id (microsoft/GitHub-Copilot-for-Azure, 255 stars), Slack To Teams (microsoft/work-iq, 1k stars) and Detecting OAuth Token Theft (mukul975/Anthropic-Cybersecurity-Skills, 34k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Outlook Emails Lawvable?

lawve-ai (a GitHub organization) maintains it in lawve-ai/awesome-legal-skills, which has 847 GitHub stars. The repository holds 154 skills in this directory. The repository was last updated on October 2, 2026.

Source: lawve-ai/awesome-legal-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.