custom-smtp-senderA 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.
Install via ClawdBot CLI:
clawdbot install scccmsd/custom-smtp-senderCustom skill to send emails with advanced options including HTML/Markdown conversion, attachments, and retry handling. Integrates existing configuration, ensuring secure and reliable operations.
smtp-config.json located at /home/bb/.openclaw/Example:
{
"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).
Send a basic email:
custom-smtp-sender send --to "recipient@example.com" --subject "Hello" --body "δ½ ε₯½"
Send an HTML email with an attachment:
custom-smtp-sender send \
--to "recipient@example.com" \
--subject "Weekly Report" \
--body "**Important updates inside.** See attached." \
--html \
--attachments path/to/file.pdf
The tool retries up to 3 times on failure, logging each attempt. Networking or credential issues are reported in detail.
Set up your SMTP-service once, and youβre ready to integrate email into your workflow!
Generated Mar 1, 2026
E-commerce platforms can use this skill to send automated order confirmations, shipping updates, and promotional emails to customers. The HTML/Markdown support allows for branded, visually appealing communications, while retry logic ensures reliable delivery even during temporary network issues.
Companies can integrate this skill into their internal systems to send weekly reports, project updates, or meeting summaries to team members. The attachment feature enables sharing documents like PDF reports or presentation slides directly through email.
Marketing agencies can leverage this skill to send bulk newsletters, product announcements, or event invitations to subscriber lists. The configuration-based setup allows quick deployment across different client accounts with their respective SMTP services.
IT departments can use this skill to send critical alerts when servers go down, security breaches occur, or system thresholds are exceeded. The logging feature provides an audit trail for compliance purposes and troubleshooting.
Schools and universities can automate sending assignment reminders, grade reports, or event notifications to students and parents. The ability to include attachments makes it suitable for distributing educational materials or forms.
Offer this email-sending capability as an add-on service to existing software platforms, charging a monthly subscription fee per user or per email volume. The configuration-based approach makes it easy to deploy across multiple client environments.
Provide consulting services to help businesses integrate this email functionality into their existing workflows, with additional customization for specific use cases. Charge project-based fees for setup and configuration.
License this skill to other software developers who can rebrand it as part of their own applications. Charge licensing fees based on the number of end-users or deployments.
π¬ Integration Tip
Ensure the SMTP configuration file has proper permissions (chmod 600) and test with a simple email before integrating into production workflows to verify connectivity and formatting.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Read and send email via IMAP/SMTP. Check for new/unread messages, fetch content, search mailboxes, mark as read/unread, and send emails with attachments. Works with any IMAP/SMTP server including Gmail, Outlook, 163.com, vip.163.com, 126.com, vip.126.com, 188.com, and vip.188.com.
Gmail API integration with managed OAuth. Read, send, and manage emails, threads, labels, and drafts. Use this skill when users want to interact with Gmail. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
Automatically logs into email accounts (Gmail, Outlook, QQ Mail, etc.) and generates daily email summaries. Use when the user wants to get a summary of their emails, check important messages, or create daily email digests.
Fetch content from Feishu (Lark) Wiki, Docs, Sheets, and Bitable. Automatically resolves Wiki URLs to real entities and converts content to Markdown.
Manage Feishu (Lark) calendars by listing, searching, checking schedules, syncing events, and marking tasks with automated date extraction.