Email Response Drafting for Openclaw

A professional AI agent skill for drafting human-like email replies with perfect threading, tone matching, and client-safe formatting.

stevenobiajulu
v0.1.1
Apr 8, 2026
0
848
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install email-response-drafting

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install email-response-drafting using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Email Response Drafting?

The Email Response Drafting skill is a specialized instruction set designed to help AI agents navigate the complexities of professional correspondence. By prioritizing a draft-first safety pattern, this skill ensures that agents never send messages without explicit user approval. It focuses on human-centric communication, teaching agents to calibrate their register based on the sender's tone, length, and level of formality. Utilizing Openclaw Skills for your communication workflows ensures that every response is not only contextually relevant but also technically sound.

Beyond simple text generation, this skill addresses the technical pitfalls of email rendering, such as broken markdown tables or missing plain-text versions. It provides a structured approach to threading, ensuring that replies are correctly linked to original conversations using message IDs and specific API protocols. This makes it an essential tool for developers building reliable AI-driven communication assistants.

Email Response Drafting Use Cases

  • Responding to internal team updates with direct and efficient communication.
  • Handling high-trust client inquiries with warm and professional language.
  • Managing formal threads that require strict adherence to existing greetings and closings.
  • Converting long internal discussions into concise, action-oriented email drafts for stakeholders.
  • Following up on unanswered threads without sounding repetitive or pushy.

How Email Response Drafting Works

  1. The AI agent analyzes the incoming email to detect calibration signals such as greeting style, length, and energy level.
  2. The agent identifies if the message is part of an existing thread by checking for Re: tags and searching for original message IDs.
  3. A draft is composed using markdown, adhering to the one ask per email rule for maximum clarity.
  4. The agent presents the recipients, subject, and draft body to the user for explicit review and approval.
  5. Upon approval, the agent converts the markdown to email-safe HTML and plain text, then sends or saves the draft via API.

Email Response Drafting Setup

This is an instruction-based skill that can be integrated into any agent workflow. To enhance it with automated draft saving, you can use the optional Node.js MCP.

# No runtime dependencies required for basic instruction use
# Optional: Install the email-agent-mcp for Outlook/Gmail integration
npm install @usejunior/email-agent-mcp

To implement this within Openclaw Skills, ensure your agent's system prompt includes the non-negotiable draft-first rule and the voice calibration guidelines provided in the skill documentation.

Email Response Drafting Data Schema & Taxonomy

When saving drafts to files or processing via MCP, the skill organizes data using a standardized YAML frontmatter structure for maximum compatibility.

Metadata Field Description
to The primary recipient email address.
subject The email subject, prefixed with Re: if it is a reply.
in_reply_to The unique message-id from the original email to maintain threading.
body The core content of the email written in markdown format.

Note: The draft_id and draft_link are automatically appended by the system after the draft is successfully synced to the email provider.

Email Response Drafting Advanced Features

  • Dynamic tone matching that mirrors the sender's register and formatting energy.
  • Thread-safe API integration using POST /me/messages/{id}/createReply patterns.
  • Automated formatting fixes for common email client rendering issues like cuddled lists or raw markdown.
  • Multi-agent support via YAML-based draft files that can be shared across different automation hooks.
  • Context-aware response templates for delivering bad news, good news, or redirects with empathy.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*