create-outlook-draft

Create Outlook email drafts from Markdown files via the Windows COM API.

11|1|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/raandree/CopilotAtelier --skill create-outlook-draft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-outlook-draft
Source: https://github.com/raandree/CopilotAtelier/tree/main/Skills/create-outlook-draft
Command: npx skills add https://github.com/raandree/CopilotAtelier --skill create-outlook-draft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create Outlook email drafts from Markdown files automatically, eliminating manual copy-paste and formatting tasks.

Core Features & Use Cases

  • Parse metadata tables (To, CC, Subject) from Markdown and convert the body to styled HTML.
  • Save drafts to the Outlook Drafts folder using the Outlook COM API; supports batch processing of multiple Markdown files.
  • Handle the COM lifecycle, locked items, and duplicate cleanup to prevent duplicates.
  • Prerequisites: Outlook installed on Windows, PowerShell access to the Outlook COM object.

Quick Start

Place Markdown files in a folder and run the provided PowerShell script to generate Drafts in Outlook.

Frequently Asked Questions about create-outlook-draft

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

FAQPage Schema
How do I create Outlook email drafts from Markdown files automatically?

You can create Outlook email drafts from Markdown files by running a PowerShell script that parses metadata tables for To, CC, and Subject lines, converts the Markdown body to styled HTML, and saves it to your Outlook Drafts folder via the Windows COM API.

Can I batch process multiple Markdown files into Outlook drafts at once?

Yes, batch processing of multiple Markdown files is supported. The provided PowerShell script iterates through a designated folder, parsing each Markdown file's metadata and converting its body to HTML to generate multiple Outlook drafts simultaneously.

Do I need Outlook installed on Windows to generate email drafts from Markdown?

Yes, generating Outlook drafts from Markdown requires Outlook installed on Windows and PowerShell access. The Skill relies on the Outlook COM API to manage the COM lifecycle, handle locked items, and save drafts directly to the Outlook Drafts folder.

How does the tool handle duplicate Outlook drafts when processing Markdown files?

The tool handles duplicate Outlook drafts by managing the COM lifecycle and performing duplicate cleanup during the PowerShell script execution. This prevents duplicate drafts from accumulating in your Outlook Drafts folder during batch processing.

What is the best way to convert Markdown email bodies to styled HTML for Outlook?

The best way to convert Markdown email bodies to styled HTML for Outlook is using this PowerShell-based COM automation approach. It automatically parses Markdown metadata tables and transforms the email body into styled HTML formatted specifically for Outlook drafts.

Why does my PowerShell script fail when creating Outlook drafts via COM automation?

PowerShell scripts creating Outlook drafts via COM automation may fail due to improper COM lifecycle management, locked Outlook items, or insufficient script execution permissions. The Skill includes error handling to manage these COM-specific constraints and prevent processing failures.