Send Email To for Openclaw

An automated email notification and reporting skill designed to read structured market data, discover localized Office files, and transmit them via secured SMTP with compliant Chinese file attachment encoding.

szrw1825
v1.0.0
Jun 6, 2026
0
595
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install send-email-to

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 send-email-to 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 Send Email To?

The Send Email To skill is a developer-centric automation blueprint built specifically to expand Openclaw Skills ecosystems with powerful outbound messaging capabilities. It specializes in bridging data aggregation tasks with automated delivery. By parsing pre-generated data formats and locating dynamic daily report files, it automatically packages and sends rich emails to stakeholders without manual user intervention.

One of the defining engineering advantages of this skill is its native handling of complex attachment filenames. It addresses a notorious issue where non-ASCII, specifically Chinese characters in attachment headers, get corrupted and display as non-descript .bin files in popular modern email clients. Through standard RFC 2231 attachment header encoding and precise Content-Type boundary parameters, it guarantees seamless visual delivery and flawless document rendering across all enterprise email clients.

Send Email To Use Cases

  • Automatically emailing daily operational updates and summaries to project stakeholders.
  • Sending localized corporate performance charts or daily financial snapshots via secure script pipelines.
  • Attaching and routing dynamically generated office files (like Word briefs and PowerPoint presentations) directly from local file directories based on systemic prompt triggers like "send email", "send report", or "send daily digest".

How Send Email To Works

  1. Data Ingestion: The execution script reads localized market summaries out of the market_data.json structure produced by upstream collection tools.
  2. File Asset Location: The skill scans a parameterized system folder structure (E:\\daily\\{date}\\) to dynamically isolate and verify the presence of daily specific documents like *_YYYYMMDD.docx and *_YYYYMMDD.pptx files.
  3. MIME Message Construction: A multi-part MIME email object is dynamically assembled. The text body incorporates the data summaries while the isolated document files are appended as attachments.
  4. Header Encoding Optimization: The filenames of attachments undergo RFC 2231 encoding formatting, assigning explicit character sets to avoid client rendering failure.
  5. SMTP Transmission: The system opens a network stream to the configured SMTP routing server on designated ports to securely push the email payload to the specified end recipient.

Send Email To Setup

To leverage this automation skill within your Openclaw Skills workflow environment, clone the module repository and ensure you populate your credentials within your execution environment's config.py module:

# Navigate to your local skills directory
cd send-email-to/scripts

# Ensure your python environment has necessary standard libraries or tools
python send_email.py

Ensure your config.py contains valid credentials conforming to your server constraints as outlined below.

Send Email To Data Schema & Taxonomy

The skill interacts directly with predefined local input structures and directory topologies as defined below:

Input Requirements

Data Source / Path Data Format Description
market_data.json JSON Object Core data containing aggregated text elements used to construct the primary email message body summary.
E:\\daily\\{date}\\ File Directory Target storage directory mapped by date where the automated script looks for explicit *_YYYYMMDD.docx and *_YYYYMMDD.pptx attachments.

SMTP Network Configuration Properties

Configuration Property Value Specifier
SMTP Server smtp.163.com
SMTP Port 25
Sender Identity [email protected]
Primary Recipient [email protected]
Authentication Token MN3dS36RDsLcyFTb

Send Email To Advanced Features

  • RFC 2231 Header Encoding: Implements standards-compliant parameter encoding for attachment filenames to enforce compatibility for international characters (Chinese language names) across old and new email applications.
  • Office Document Content-Type Contextualizing: Automatically ensures correct MIME-type classification for critical Office payloads, eliminating generic binary string stream fallbacks.
  • Modular Workflow Chaining: Pairs seamlessly with preceding collection workflows, reading output files directly from disk to close the loop on fully automated data pipeline execution.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*