custom-smtp-sender
scccmsd 제작
Communication요약
A skill to send emails with support for markdown, HTML.
설명
이 스킬이 하는 일
Sends emails via a pre-configured SMTP server with support for plain text, Markdown-to-HTML conversion, and file attachments. Uses a local JSON config file for credentials and retries failed sends up to 3 times with error logging.
Reuses a single SMTP config across all scripts instead of hardcoding credentials each time.
사용 시점
- Sending weekly reports with PDF attachments
- Automating notification emails from scripts
- Delivering formatted Markdown summaries to teammates
- Triggering email alerts after long-running jobs finish
- Sending files from the command line without a GUI client
예시 워크플로
User asks: Send a weekly report email with an attached PDF to the team
- 1
Reads SMTP credentials from /home/bb/.openclaw/smtp-config.json
- 2
Converts Markdown body to HTML
- 3
Attaches the specified PDF file
- 4
Calls custom-smtp-sender with --to, --subject, --body, --html, and --attachments flags
- 5
Retries up to 3 times on failure and logs the result
Email delivered to recipient with formatted HTML body and PDF attachment
요구 사항
- SMTP account credentials (server, port, username, password)
- smtp-config.json file created at /home/bb/.openclaw/smtp-config.json
설치
clawhub install scccmsd/custom-smtp-senderCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.