Use 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.
text
~/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
TopicFileUse it forSetup and first-run guardrailssetup.mdInitialize ~/smtp/ without storing secrets or sending mail too earlyMemory structurememory-template.mdCreate ~/smtp/memory.md with status and stable contextBaseline memory examplememory.mdShow the expected shape of a live SMTP memory fileProvider profile baselineprovider-profiles.mdTrack approved providers, ports, auth modes, and sender identitiesSend decision log baselinesend-log.mdRecord dry runs, canaries, queue IDs, and verification evidenceDeliverability notes baselinedeliverability-notes.mdCapture DNS auth status, spam-folder evidence, and bounce patternsSafe execution workflowsend-flow.mdRun draft -> preflight -> canary -> verify -> scaleFault isolation guidediagnostic-playbook.mdSeparate DNS, TLS, auth, relay, and placement failuresDeliverability rulesdeliverability.mdCheck SPF, DKIM, DMARC, alignment, and inbox placementCLI probe patternsswaks-recipes.mdUse 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.TrapWhy It FailsBetter MoveTreating port 465 and 587 as interchangeableTLS handshake breaks or auth never startsMatch implicit TLS vs STARTTLS explicitlyChanging SPF before fixing authWrong layer, no effect on login failureProve DNS, TLS, and auth separatelyAssuming 250 means inbox successQueue acceptance is not mailbox placementCheck spam, bounces, and final recipient evidenceUsing external recipients as the first testIncreases blast radius and riskStart with one approved canary inboxDisabling certificate checks to "make it work"Hides real TLS or hostname issuesFix hostname, CA trust, or port selection insteadLetting From differ wildly from auth identityTriggers relay denial or spam scoringAlign sender identity or document the relay policy
EndpointData SentPurposeConfigured SMTP submission server, such as smtp.example.comMessage headers, recipients, body, and attachments only for approved live tests or sendsSubmit or test outbound mailDNS resolvers or authoritative nameservers for the sender domainDomain names and record lookups for SPF, DKIM, DMARC, MX, and PTR checksDiagnose 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