SkillHub

outlook-email

v0.1.0

Microsoft Outlook/Live.com email client via Microsoft Graph API. List, search, read, send, and reply to emails.

Sourced from ClawHub, Authored by abhiramee08b021

Installation

Please help me install the skill `outlook-email` from SkillHub official store. npx skills add abhiramee08b021/outlook-email

Outlook CLI

Command-line email client for Microsoft Outlook/Live/Hotmail using Microsoft Graph API.

Setup

  1. Create Azure AD App: https://portal.azure.com → App registrations
  2. Name: outlook-cli
  3. Account type: "Personal Microsoft accounts only"
  4. Redirect URI: http://localhost:8080/callback

  5. Get credentials from your app registration

  6. Configure: bash outlook configure

  7. Authenticate: bash outlook auth

Commands

Command Description
outlook list [n] List recent emails
outlook search "query" [n] Search emails
outlook read <id> Read email by ID
outlook send --to ... Send email
outlook reply <id> Reply to email
outlook status Check auth status

Examples

List emails:

outlook list 20

Search:

outlook search "from:linkedin.com"
outlook search "subject:invoice"

Send:

outlook send --to "[email protected]" --subject "Hello" --body "Message"
outlook send --to "[email protected],[email protected]" --cc "[email protected]" --subject "Update" --body-file ./msg.txt

Reply:

outlook reply EMAIL_ID --body "Thanks!"
outlook reply EMAIL_ID --all --body "Thanks everyone!"

Search Operators

  • from:[email protected] - Sender
  • subject:keyword - Subject line
  • body:keyword - Email body
  • received:YYYY-MM-DD - Date
  • hasattachment:yes - Has attachments

Files

  • SKILL.md - This documentation
  • outlook - Main CLI script
  • README.md - Full documentation