Command-line email client for Microsoft Outlook/Live/Hotmail using Microsoft Graph API.
outlook-clihttp://localhost:8080/callback```bash
outlook configure
```
```bash
outlook auth
```
| Command | Description |
|---|---|
| --------- | ------------- |
outlook list [n] | List recent emails |
outlook search "query" [n] | Search emails |
outlook read | Read email by ID |
outlook send --to ... | Send email |
outlook reply | Reply to email |
outlook status | Check auth status |
List emails:
outlook list 20
Search:
outlook search "from:linkedin.com"
outlook search "subject:invoice"
Send:
outlook send --to "user@example.com" --subject "Hello" --body "Message"
outlook send --to "a@x.com,b@x.com" --cc "boss@x.com" --subject "Update" --body-file ./msg.txt
Reply:
outlook reply EMAIL_ID --body "Thanks!"
outlook reply EMAIL_ID --all --body "Thanks everyone!"
from:email@domain.com - Sendersubject:keyword - Subject linebody:keyword - Email bodyreceived:YYYY-MM-DD - Datehasattachment:yes - Has attachmentsSKILL.md - This documentationoutlook - Main CLI scriptREADME.md - Full documentation共 1 个版本