outlook-cli
Control Outlook directly from your Windows desktop using PowerShell COM objects. Read incoming messages, compose and send emails, search your message history, and view calendar events—all without leaving your agent.
Outlook-cli reads and sends emails from Microsoft Outlook on Windows using PowerShell automation.
AI-generated summary based on this skill's SKILL.md
Install
malue-ai/dazee-small/outlook-cli · repository language: Python
git clone https://github.com/malue-ai/dazee-small
cp -r dazee-small/instances/xiaodazi/skills/outlook-cli ~/.claude/skills/outlook-cliFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I read new emails from Outlook using outlook-cli?
outlook-cli lets you check your Outlook inbox directly from the command line on Windows. The skill uses PowerShell COM objects to connect to your Outlook application and retrieve incoming messages. You can read new emails without opening the Outlook client manually, making it ideal for automation and scripting workflows.
Can I send email via Outlook PowerShell with outlook-cli?
Yes. outlook-cli supports sending emails through Outlook with user confirmation built in. Using PowerShell COM objects, the skill composes and dispatches messages programmatically while ensuring you approve each send action. This enables safe email automation on Windows without manual intervention for each message.
How do I search my Outlook mailbox for emails using this tool?
outlook-cli lets you search and filter emails by subject or keywords directly from your command line. The skill queries your Outlook message history and returns matching results, allowing you to locate specific emails quickly without browsing through your inbox manually.
Can outlook-cli help me view calendar events and appointments?
outlook-cli includes calendar functionality to view and retrieve your Outlook calendar events and appointments. You can query your schedule from the command line to see meetings and events without opening the Outlook interface, making it convenient for checking your day's agenda programmatically.
What is the license for outlook-cli?
outlook-cli is released under the MIT license, which permits free use, modification, and distribution with minimal restrictions. The MIT license makes outlook-cli suitable for both personal and commercial projects.
How does outlook-cli automate Outlook tasks on Windows?
outlook-cli leverages PowerShell COM objects to automate Outlook operations directly from your Windows desktop. You can script email management, calendar queries, and message searches without manual interaction, enabling efficient workflow automation for email and calendar tasks.
SKILL.md
rendered from the published skill — quoted content, verbatim
Outlook 邮件管理(Windows)
通过 PowerShell COM 对象控制 Windows 上的 Microsoft Outlook。
使用场景
- 用户说「帮我看看今天有没有新邮件」「发一封邮件给 XXX」
- 用户需要搜索历史邮件
- 用户需要查看日历
命令参考
读取收件箱
$outlook = New-Object -ComObject Outlook.Application
$namespace = $outlook.GetNamespace("MAPI")
$inbox = $namespace.GetDefaultFolder(6) # 6 = 收件箱
# 最近 10 封邮件
$inbox.Items | Sort-Object ReceivedTime -Descending | Select-Object -First 10 | ForEach-Object {
Write-Output "$($_.ReceivedTime) | $($_.SenderName) | $($_.Subject)"
}
发送邮件
$outlook = New-Object -ComObject Outlook.Application
$mail = $outlook.CreateItem(0) # 0 = 邮件
$mail.To = "recipient@example.com"
$mail.Subject = "邮件主题"
$mail.Body = "邮件正文"
# $mail.Attachments.Add("C:\path\to\file.pdf")
$mail.Send()
搜索邮件
```powershell $outlook = New-Object -ComObject Outlook.Application $namespace =
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 1 file
instances/xiaodazi/skills/outlook-cli/SKILL.md