# Send Email to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "email-skill",
    "name": "Email",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/awspace/email-skill",
    "canonicalUrl": "https://clawhub.ai/awspace/email-skill",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/email-skill",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=email-skill",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "config_template.json",
      "email_sender.py",
      "openclaw_integration.md",
      "requirements.txt"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "email-skill",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-02T20:55:21.840Z",
      "expiresAt": "2026-05-09T20:55:21.840Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=email-skill",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=email-skill",
        "contentDisposition": "attachment; filename=\"email-skill-0.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "email-skill"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/email-skill"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/email-skill",
    "downloadUrl": "https://openagent3.xyz/downloads/email-skill",
    "agentUrl": "https://openagent3.xyz/skills/email-skill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/email-skill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/email-skill/agent.md"
  }
}
```
## Documentation

### Email 📧

Email management and automation with attachment support.

### Features

Send emails with attachments
Support for multiple email providers (Gmail, Outlook, Yahoo, etc.)
HTML and plain text email support
CC and BCC recipients
Test email functionality
Secure TLS/SSL connections

### 1. Configure Email Credentials

Create a configuration file email_config.json in your workspace:

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

### 2. For Gmail Users (Recommended)

Enable 2-factor authentication on your Google account
Generate an App Password:

Go to https://myaccount.google.com/security
Under "Signing in to Google," select "App passwords"
Generate a new app password for "Mail"
Use this 16-character password in your config

### 3. Alternative: Environment Variables

Set these environment variables instead of using a config file:

# Windows
set SMTP_SERVER=smtp.gmail.com
set SMTP_PORT=587
set EMAIL_USERNAME=your-email@gmail.com
set EMAIL_PASSWORD=your-app-password
set EMAIL_SENDER_NAME="OpenClaw Assistant"

# macOS/Linux
export SMTP_SERVER=smtp.gmail.com
export SMTP_PORT=587
export EMAIL_USERNAME=your-email@gmail.com
export EMAIL_PASSWORD=your-app-password
export EMAIL_SENDER_NAME="OpenClaw Assistant"

### Send a Simple Email

python email_sender.py --to "recipient@example.com" --subject "Hello" --body "This is a test email"

### Send Email with Attachment

python email_sender.py --to "recipient@example.com" --subject "Report" --body "Please find attached" --attachment "report.pdf" --attachment "data.xlsx"

### Send Test Email

python email_sender.py --to "your-email@gmail.com" --test

### Using with OpenClaw Commands

"Send email to recipient@example.com with subject Meeting Notes and body Here are the notes from today's meeting"
"Send test email to verify configuration"
"Email the report.pdf file to team@company.com"

### Supported Email Providers

ProviderSMTP ServerPortTLSGmailsmtp.gmail.com587YesOutlook/Office365smtp.office365.com587YesYahoosmtp.mail.yahoo.com587YesQQ Mailsmtp.qq.com587YesCustom SMTPyour.smtp.server.com587/465As configured

### Python API Usage

from email_sender import EmailSender

# Initialize with config file
sender = EmailSender("email_config.json")

# Send email with attachment
result = sender.send_email(
    to_email="recipient@example.com",
    subject="Important Document",
    body="Please review the attached document.",
    attachments=["document.pdf", "data.csv"]
)

if result["success"]:
    print(f"Email sent with {result['attachments']} attachments")
else:
    print(f"Error: {result['error']}")

### Common Issues:

Authentication Failed

Verify your username and password
For Gmail: Use app password instead of regular password
Check if 2FA is enabled



Connection Refused

Verify SMTP server and port
Check firewall settings
Try different port (465 for SSL)



Attachment Too Large

Most providers limit attachments to 25MB
Consider compressing files or using cloud storage links

### Security Notes

Never commit email credentials to version control
Use environment variables for production deployments
Regularly rotate app passwords
Consider using dedicated email accounts for automation
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: awspace
- Version: 0.1.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-02T20:55:21.840Z
- Expires at: 2026-05-09T20:55:21.840Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/email-skill)
- [Send to Agent page](https://openagent3.xyz/skills/email-skill/agent)
- [JSON manifest](https://openagent3.xyz/skills/email-skill/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/email-skill/agent.md)
- [Download page](https://openagent3.xyz/downloads/email-skill)