Email Management & Automation for Openclaw

A comprehensive skill for automating email dispatch and management with support for attachments and multiple providers.

awspace
v0.1.0
Feb 27, 2026
0
3k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install email-skill

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-skill 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 Management & Automation?

The Email Management skill is designed to bridge the gap between AI agents and communication platforms. By leveraging this tool within the Openclaw Skills ecosystem, developers can programmatically send emails, handle file attachments, and manage multi-recipient communications. It supports HTML formatting for professional layouts and ensures security through TLS/SSL encryption.

This skill is particularly effective for users who need to automate repetitive messaging tasks or send generated reports directly from an AI workspace. It supports major providers like Gmail and Outlook while allowing for custom SMTP configurations, making it a versatile addition to any automation stack.

Email Management & Automation Use Cases

  • Sending automated PDF reports or data exports to stakeholders
  • Dispatching instant notification alerts from monitoring agents
  • Emailing meeting summaries and notes directly after generation
  • Testing SMTP connectivity and email deliverability via CLI tools

How Email Management & Automation Works

  1. The user initializes the skill by providing SMTP credentials via a JSON configuration file or environment variables.
  2. The AI agent identifies an email-related task and passes parameters such as recipient, subject, and body to the skill.
  3. The skill establishes a secure connection to the specified mail server (Gmail, Outlook, etc.) using the provided credentials.
  4. If attachments are included, the skill encodes and bundles them with the outgoing message.
  5. The system transmits the email and provides a success or error status report to the user.

Email Management & Automation Setup

To get started with this skill, create a configuration file named email_config.json in your workspace with your SMTP details. This is a standard part of setting up Openclaw Skills:

{
  "smtp_server": "smtp.gmail.com",
  "smtp_port": 587,
  "username": "[email protected]",
  "password": "your-app-password",
  "sender_name": "OpenClaw Assistant",
  "use_tls": true,
  "use_ssl": false
}

Alternatively, you can set environment variables for your operating system:

# macOS/Linux
export SMTP_SERVER=smtp.gmail.com
export SMTP_PORT=587
export [email protected]
export EMAIL_PASSWORD=your-app-password

Email Management & Automation Data Schema & Taxonomy

The skill manages data primarily through its configuration file and command-line arguments. Key configuration fields include:

Parameter Description Required
smtp_server The hostname of your SMTP provider Yes
smtp_port Connection port (587 for TLS, 465 for SSL) Yes
username Your email account address Yes
password Your app-specific password Yes
use_tls Boolean to enable TLS encryption Yes
sender_name The display name for outgoing emails No

Usage via CLI follows this pattern:

python email_sender.py --to "[email protected]" --subject "Subject" --body "Message body" --attachment "file.pdf"

Email Management & Automation Advanced Features

  • Support for both HTML and plain-text email bodies for rich formatting
  • Multi-attachment capability for distributing complex document sets
  • CC and BCC recipient support for enterprise-grade communication workflows
  • Integrated Python API for custom development within Openclaw Skills
  • Secure handling of app-specific passwords to maintain account integrity

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*