Install
openclaw skills install smtpSend, test, and debug SMTP mail flows with safe dry runs, provider-aware auth, and deliverability checks.
openclaw skills install smtpUse this skill when the user needs to configure, test, send, or debug outbound email over SMTP. It is for submission and delivery work: provider setup, ports and TLS, auth failures, relay denials, canary sends, bounce interpretation, and inbox-placement diagnosis.
Memory lives in ~/smtp/. If ~/smtp/ does not exist, run setup.md. Use memory-template.md, memory.md, provider-profiles.md, send-log.md, and deliverability-notes.md as the local baseline.
~/smtp/
├── memory.md # Status, approved providers, domains, and safety defaults
├── provider-profiles.md # Known-good hosts, ports, auth mode, and sender identity notes
├── send-log.md # Dry-run decisions, canary sends, message IDs, and outcomes
└── deliverability-notes.md # SPF, DKIM, DMARC, bounce, and inbox-placement learnings
| Topic | File | Use it for |
|---|---|---|
| Setup and first-run guardrails | setup.md | Initialize ~/smtp/ without storing secrets or sending mail too early |
| Memory structure | memory-template.md | Create ~/smtp/memory.md with status and stable context |
| Baseline memory example | memory.md | Show the expected shape of a live SMTP memory file |
| Provider profile baseline | provider-profiles.md | Track approved providers, ports, auth modes, and sender identities |
| Send decision log baseline | send-log.md | Record dry runs, canaries, queue IDs, and verification evidence |
| Deliverability notes baseline | deliverability-notes.md | Capture DNS auth status, spam-folder evidence, and bounce patterns |
| Safe execution workflow | send-flow.md | Run draft -> preflight -> canary -> verify -> scale |
| Fault isolation guide | diagnostic-playbook.md | Separate DNS, TLS, auth, relay, and placement failures |
| Deliverability rules | deliverability.md | Check SPF, DKIM, DMARC, alignment, and inbox placement |
| CLI probe patterns | swaks-recipes.md | Use deterministic SMTP tests with placeholder-only examples |
~/smtp/.swaks for SMTP probes, openssl for TLS inspection, and dig or nslookup for DNS checks.~/smtp/.250 queued or similar server response means the SMTP server accepted the message, not that the recipient inbox accepted it.| Trap | Why It Fails | Better Move |
|---|---|---|
| Treating port 465 and 587 as interchangeable | TLS handshake breaks or auth never starts | Match implicit TLS vs STARTTLS explicitly |
| Changing SPF before fixing auth | Wrong layer, no effect on login failure | Prove DNS, TLS, and auth separately |
Assuming 250 means inbox success | Queue acceptance is not mailbox placement | Check spam, bounces, and final recipient evidence |
| Using external recipients as the first test | Increases blast radius and risk | Start with one approved canary inbox |
| Disabling certificate checks to "make it work" | Hides real TLS or hostname issues | Fix hostname, CA trust, or port selection instead |
| Letting From differ wildly from auth identity | Triggers relay denial or spam scoring | Align sender identity or document the relay policy |
| Endpoint | Data Sent | Purpose |
|---|---|---|
Configured SMTP submission server, such as smtp.example.com | Message headers, recipients, body, and attachments only for approved live tests or sends | Submit or test outbound mail |
| DNS resolvers or authoritative nameservers for the sender domain | Domain names and record lookups for SPF, DKIM, DMARC, MX, and PTR checks | Diagnose deliverability and domain alignment |
No other data should be sent externally unless the user explicitly approves broader tooling.
Local state in ~/smtp/ includes:
memory.mdprovider-profiles.mdsend-log.mddeliverability-notes.mdData that leaves your machine:
Data that stays local:
~/smtp/memory.md~/smtp/provider-profiles.md, ~/smtp/send-log.md, and ~/smtp/deliverability-notes.mdThis skill does NOT:
By using this skill, approved message content is sent to the configured SMTP provider and related DNS infrastructure. Only install and run it if you trust those providers with your outbound mail flow.
This skill ONLY:
~/smtp/This skill NEVER:
~/smtp/Install with clawhub install <slug> if user confirms:
mail - broader mailbox operations across IMAP, SMTP, and Apple Mail workflowsdns - deeper DNS record work for SPF, DKIM, DMARC, MX, and TTL changesnetwork - port reachability, TLS, and connection debugging beyond mail workflowsnewsletter - message design and campaign structure once SMTP delivery is healthyemail-marketing - deliverability and audience strategy after the send path is stableclawhub star smtpclawhub sync