Skip to content
Back to skills

Send Emails Via Smtp

ASecurity

A skill to send emails with support for markdown, HTML text, and attachments, leveraging existing SMTP configuration in `/home/bb/.openclaw/smtp-config.json`. Includes retry logic and logging.

  • 37 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 19, 2026
ai-agentsgobashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add rondoflow/rondoflow --skill send-emails-via-smtp --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Send Emails Via Smtp?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Send Emails Via Smtp
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rondoflow-send-emails-via-smtp/badge)](https://www.skillsdirectory.com/skills/rondoflow-send-emails-via-smtp)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: send-emails-via-smtp
description: "A skill to send emails with support for markdown, HTML text, and attachments, leveraging existing SMTP configuration in `/home/bb/.openclaw/smtp-config.json`. Includes retry logic and logging."
category: "Web & Scraping"
author: community
version: "1.0.0"
icon: globe
---

# Custom SMTP Sender

Custom skill to send emails with advanced options including HTML/Markdown conversion, attachments, and retry handling. Integrates existing configuration, ensuring secure and reliable operations.

## Features
- **HTML/Markdown support**: Compose emails using markdown converted to HTML.
- **Attachments**: Include one or more files easily.
- **Retries**: Attempts to resend in case of temporary failures.
- **Logging**: Maintains a log of sent emails and errors for auditing.

## Prerequisites
- **SMTP Configuration File**: `smtp-config.json` located at `/home/bb/.openclaw/`

Example:
```json
{
  "server": "smtp.exmail.qq.com",
  "port": 465,
  "username": "your-email@example.com",
  "password": "your-password",
  "emailFrom": "your-email@example.com",
  "useTLS": true
}
```

Ensure file permissions are secured (chmod 600).

## Usage
Send a basic email:
```bash
custom-smtp-sender send --to "recipient@example.com" --subject "Hello" --body "你好"
```

Send an HTML email with an attachment:
```bash
custom-smtp-sender send \
  --to "recipient@example.com" \
  --subject "Weekly Report" \
  --body "**Important updates inside.** See attached." \
  --html \
  --attachments path/to/file.pdf
```

## Error Handling
The tool retries up to 3 times on failure, logging each attempt. Networking or credential issues are reported in detail.

## Future Expansion
- Support for CC/BCC fields
- Scheduling emails (cron integration)
- Email templates

Set up your SMTP-service once, and you’re ready to integrate email into your workflow!

Files in this skill

  • SKILL.md1.8 KB
  • manifest.json397 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.