outlook-mail

Automate Outlook mail management with PowerShell scripts using COM.

5|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/mustafaakben/outlook-suite-plugin --skill outlook-mail
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: outlook-mail
Source: https://github.com/mustafaakben/outlook-suite-plugin/tree/main/plugins/outlook-suite/skills/outlook-mail
Command: npx skills add https://github.com/mustafaakben/outlook-suite-plugin --skill outlook-mail

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Reduce manual effort and error in managing Outlook emails by providing a comprehensive PowerShell-based toolkit that automates common mail workflows.

Core Features & Use Cases

  • Read, search, draft, send, reply, and forward emails with safe defaults and explicit confirmation when needed.
  • Move, delete, flag, categorize, attach files, and schedule sends, including handling drafts and automated reminders for routine communications.
  • Target items reliably using EntryID or index-based references across multiple Outlook accounts.

Quick Start

Create a draft email to test the workflow, then schedule or send it using the built-in safety checks.

Frequently Asked Questions about outlook-mail

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Outlook email tasks with PowerShell?

You can automate Outlook email tasks using PowerShell scripts that interface with Outlook COM to find, read, draft, send, and organize emails. This provides a comprehensive toolkit to reduce manual effort and errors in common mail workflows.

Do I need Outlook installed to run PowerShell scripts for email automation?

Yes, Outlook must be installed and configured on your machine to run these PowerShell email automation scripts. The toolkit relies on the local Outlook COM interface to manage mail workflows safely.

Can PowerShell reliably target specific Outlook emails for automated processing?

Yes, PowerShell can reliably target specific Outlook emails using EntryID-based references with a fallback index. This ensures accurate item selection across multiple Outlook accounts when searching or organizing messages.

What is the best way to safely send or delete Outlook emails via automation?

The best way to safely send or delete Outlook emails is using PowerShell scripts with built-in safety gates. The toolkit enforces explicit confirmation for sensitive actions like sending, deleting, or moving items.

Does PowerShell Outlook automation support attachments and scheduling?

Yes, PowerShell Outlook automation supports handling attachments, flagging, categorizing, and scheduling sends. Scripts can manage drafts and automate reminders for routine communications across configured accounts.

Why does my PowerShell Outlook email script fail to find the right message?

Your PowerShell Outlook email script may fail if the EntryID is invalid or the fallback index is incorrect. Ensure Outlook is configured properly and the targeted item exists within the specified account folder.