From selfmail
Email yourself — or a configured address — from the shell or an AI agent, over Resend. Use when the user wants to send themselves an email, get notified by email from a script, cron job, CI, or agent, deliver command output or a file to their own inbox, or asks to "email me when this is done". Wraps the one-command `selfmail` CLI (plus an MCP server exposing a send_email tool).
How this skill is triggered — by the user, by Claude, or both
Slash command
/selfmail:selfmailThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
[`selfmail`](https://github.com/alltuner/selfmail) sends an email to a pre-configured
selfmail sends an email to a pre-configured
"me" address with a single command, over Resend. It runs
anywhere — a laptop, a cron job, CI, a cloud runner, or an AI agent — with no GUI and
no local mail server. Reach for it whenever a task should end with "...and email it to
me."
Prefer an installed binary; otherwise run it straight from PyPI with uvx:
if command -v selfmail >/dev/null; then selfmail "$@"
else uvx selfmail "$@"; fi
selfmail init # paste a Resend key (Sending access); it emails you a test
Or, for CI / headless / agents, skip the file and use environment variables:
export RESEND_API_KEY=re_...
export [email protected]
export [email protected] # or [email protected] once verified
selfmail doctor reports what's configured without sending.
selfmail "deploy finished" # body only; subject defaults to a timestamp
selfmail -s "build" "all green on main" # explicit subject
some-command 2>&1 | selfmail -s "cron output" # body from stdin (pipe)
selfmail -s "reports" -a a.pdf -a b.csv "see attached" # multiple attachments
selfmail --html "<h1>Shipped</h1>" # HTML body
selfmail --to [email protected] "heads up" # one-off different recipient
For agents that speak the Model Context Protocol, run it as a server instead of shelling out:
uvx --from 'selfmail[mcp]' selfmail mcp
It exposes one tool — send_email(subject, body, to?, html?) — using the same
configuration as the CLI.
0 — sent.1 — the send failed (network error, or Resend rejected the message).2 — configuration or usage error (no key, missing recipient/sender, bad flag).--to for the rare one-off to someone else.init, or
SELFMAIL_FROM). Resend's shared [email protected] only delivers to your own
Resend account address — fine for self-email; verify a domain to email anyone else.403 with an "only delivers to your own address" hint means a sender ↔ account
mismatch — set --from to a verified-domain address.Guides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Resolves in-progress git merge or rebase conflicts by analyzing history, understanding intent, and preserving both changes where possible. Runs automated checks after resolution.
npx claudepluginhub alltuner/skills --plugin selfmail