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
Decision gist · record as of 2026-03-18
Outlook-cli reads and sends emails from Microsoft Outlook on Windows using PowerShell automation. 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.
Use it when
- Yes.
- outlook-cli lets you search and filter emails by subject or keywords directly from your command line.
Verify before relying
Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.
Install
malue-ai/dazee-small/outlook-cli · repository language: Python
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently 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)
File tree — 1 file
instances/xiaodazi/skills/outlook-cli/SKILL.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Read and check new emails from Outlook inbox”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Automate OneNote operations on Windows through PowerShell COM objects. Build new pages, search across notebooks, and organize sections without manual interaction. Requires the desktop version of OneNote and user confirmation before modifying content.
This skill enables task management in Microsoft To Do on Windows through PowerShell and Microsoft Graph API integration. Create new tasks, mark items complete, organize lists, and set reminders or deadlines. Supports both URI-based quick actions and programmatic API calls for flexible automation.
Expert guidance for connecting to Power BI Desktop's local tabular model using the Tabular Object Model and ADOMD.NET in PowerShell. Covers enumeration, DAX queries, model modification, and Desktop Bridge operations for reloading and verification.
Launch Windows Terminal instances with chosen shell profiles, working directories, and pane layouts through command-line control. Arrange multiple terminals side-by-side or stacked, run commands on startup, and organize development workflows across tabs.
windows-open provides programmatic access to Windows file and application launching through PowerShell and system commands. Launch documents with default or specified applications, open URLs in browsers, navigate folders in Explorer, and start applications or system utilities—all without manual user interaction.
PowerShell runs pwsh commands and scripts to automate system administration, manage files and processes, query system information, and execute .ps1 scripts. It works across Windows, macOS, and Linux platforms, supporting file operations, process control, Windows services, registry access, networking, and JSON handling through a comprehensive set of cmdlets.
More skills Microsoft Outlook (NOASSERTION) · google-workspace (MIT)