From lawvable-awesome-legal-skills
Reads, searches, and downloads emails and attachments from Microsoft Outlook via OAuth2. Useful for fetching emails by keyword/sender/subject, downloading documents like NDAs/contracts, or chaining with other skills.
npx claudepluginhub joshuarweaver/cascade-business-ops --plugin lawvable-awesome-legal-skillsThis skill uses the workspace's default tool permissions.
| What this skill does | What it does NOT do |
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
| 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 |
No configuration needed. Just run the skill and sign in with your Microsoft account.
# 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 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"
uv run .agents/skills/outlook-emails-lawvable/scripts/outlook_oauth.py --download
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.
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
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.