/openoutsend:send-mailfrom openoutsend
Sends cold outreach campaigns via OpenOutSend CLI. Pipes leads from OpenOutFind, writes LLM-generated openers, and sends with daily caps, pacing, and timezone guards.
Ships in openoutsend. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
OpenOutSend is a self-hosted CLI sender — the right-hand side of a pipe. It stores leads a finder
piped in, writes the opener with an LLM, and sends from a connected mailbox under three guards it
owns: a daily cap per box (100 first contacts, or the measured warmup ramp with
OUTSEND_ENFORCE_WARM_CAPACITY=on), per-box send pacing, and a sending window read in each lead's
own timezone (the operator's for a lead piped in without one).
It finds nobody. Leads arrive already qualified from OpenOutFind
(or OpenOutreach, which bundles both). If the user wants
leads, that is a different tool — use the find-leads skill instead.
Never send unasked. Every send puts mail in a stranger's inbox under the user's own identity and
mailbox. Checking status, ingesting leads and running check are safe to do proactively; send is
not — only run it when the user has asked to send, follow up, or continue a campaign.
outsend check # verifies the environment can send: message, model, operator, mailbox
check reads only OUTSEND_* from the environment — there is no config row and nothing is asked
interactively. It fails cheaply with one line naming every variable still missing, grouped as what
you sell (OUTSEND_PRODUCT_DOCS/OUTSEND_CAMPAIGN_TARGET), the model
(OUTSEND_AI_MODEL/OUTSEND_LLM_API_KEY), who signs the mail
(OUTSEND_OPERATOR_NAME/OUTSEND_OPERATOR_EMAIL), and the mailbox
(OUTSEND_MAILBOX_ADDRESS/OUTSEND_MAILBOX_PASSWORD, an app password, not the login password).
With OUTSEND_TRANSPORT=resend the mailbox is OUTSEND_MAILBOX_ADDRESS/OUTSEND_RESEND_API_KEY
instead — a full-access key — and every piped line must carry an unsubscribe_url.
send runs the same check implicitly before any mail moves, so check is for diagnosing why
nothing sent, not a required first step.
If the command is missing, run it through uvx instead — uvx openoutsend check — or install it
with pip install openoutsend.
Never accept anything on the user's behalf. If a required variable is unset, say so and let the user set it; do not export credentials or invent a product description for them.
outfind find 50 --json | outsend
outsend with no verb reads JSON Lines on stdin, stores each row keyed on lead_id within its
sequence (the built-in cold one unless --sequence DIR names a folder of step files), checks every
address against the suppression list at the door, and exits. It transmits nothing at that moment —
ingesting and sending are separate invocations, because a pipe's right-hand side must not block on
the network while a producer is still writing.
lead_id and the sequence. Running the same pipe twice is a correction
(latest field wins), never a duplicate — re-piping after a partial failure is always safe. The
same lead piped into two sequences is two deals.email is stored, not rejected. An address is an enrichment a later re-ingest can fill
in for free.outsend send # one pass: read the mail, answer replies, open what the guards allow now
outsend send 5 # keep passing until 5 conversations are open, waiting out the send clocks
outsend send all # until nobody is left to email
outsend send --sequence DIR # the same, narrowed to the sequence in DIR
A bare pass sends every sequence the install holds, the built-in cold one among them, in one
queue, at most one message per address. --sequence DIR narrows it to that folder. With
OUTSEND_CONVERSATIONS=on, replies are answered in any pass, whatever sequence the thread began in. examples/sequences/after-a-demo/ in
the repo is a whole sequence to copy.
A pass, in order: read the mailbox (an opt-out overnight suppresses someone before anything is written to them), move every deal whose step's day has come to due, answer every conversation with a message waiting, then send as many due steps as the guards allow right now — one queue, longest due first, so a backlog of threads can never hold new leads at zero. Answers ignore the daily cap, the spacing clock and the sending window; every step is cold volume, and they share one capped, spaced budget per box — except a Resend box's cap, which each sequence spends on its own.
outsend send 5 waits — sleeping out the spacing clock, the daily ceiling and the sending window
between passes, including overnight or across a weekend if that is what the guards say. outsend send all makes the pool itself the goal and exits 0 once nobody is left, even though the same drained pool
would report send 5 as falling short at three of five — it is the same ending with one verdict
inverted, so prefer all to typing a count that goes stale as you type it.
Every step of a sequence goes on its day, whether or not the lead wrote back. After the last one
the deal is over, outcome sent, unless the install holds conversations (OUTSEND_CONVERSATIONS=on):
then it rests in its conversation, where a reply is answered, one that arrived during the steps
included. Five working days of silence close it as unresponsive (Monday–Friday, or every day with
OUTSEND_ENFORCE_WEEKEND_PAUSE=off); a folder's own conversation-<days>d.prompt.j2 sets another
gap and the prompt replies are answered from. Nothing nudges between steps: a second touch is a
second step file. A reply that says stop suppresses the address on any step, with no model asked.
If you (the calling agent) are already reasoning about this lead in the conversation,
OUTSEND_LLM_API_KEY is a second, redundant LLM bill for emails you can write yourself. Add
--agent-draft and the pass stops at the deal whose opener or next sequence step has been due
longest, instead of calling AI_MODEL — and in this mode check/send never require
OUTSEND_AI_MODEL/OUTSEND_LLM_API_KEY at all:
outsend --json send --agent-draft
It exits non-zero with draft_pending. Under --json the error object on stderr carries the deal's
own fields and what to write: {"error": {"type": "draft_pending", "lead_id", "full_name", "title", "company", "profile_text", "step", "subject", "prompt"}} — prompt is the step file rendered for
this deal, exactly what AI_MODEL would have been asked, and subject is the thread's for a later
step. Write what the prompt asks, then re-run the same command with your answer attached — a
subject and body for an opener, a body alone for a later step, which goes in the opener's thread
under its subject:
outsend send --agent-draft --subject "Quick one" --body "Saw you're hiring for platform roles..."
outsend send --agent-draft --body "One more thought on the list..."
This resumes exactly that deal — no id to track, since at most one is ever pending — and sends it the
moment a mailbox is free. An answer already given is kept, not thrown away, if the spacing clock
or the sending window is holding every box right now; a later bare outsend send --agent-draft (no
--subject/--body) will pick it back up and send it once a box frees up, so you never have to
re-supply the same text. A deal stopped or suppressed while its draft waited is dropped, not written
to. No count yet — --agent-draft is one pass at a time, like a bare outsend send.
A reply comes before any step, in an install that holds conversations
(OUTSEND_CONVERSATIONS=on; without it a sequence ends with its last step and a reply is only
stored). When a lead in their conversation has written back, the
draft_pending is theirs, with "step": "reply", their line's own fields as fields, and the whole
thread followed by how to answer it as prompt. Answer with --body alone; it goes in their thread
at once, exempt from the send clocks. Ending the conversation is not an answer this takes — tell the
operator, who ends it with agfsm fire deal-<sequence>:<id> --answer '{"to": "completed", "outcome": "…"}'.
Don't pass --agent-draft unless you intend to answer every draft_pending it raises — a bare
outsend send uses AI_MODEL and writes every opener and step itself, which is the right default for
a run nobody is driving turn-by-turn. --subject without --body, or either without
--agent-draft, is refused before any mail moves; an opener answered without --subject is refused
before it is kept.
Nothing here prints a CSV — sending has no rows to hand on. Everything is narration on stderr:
counts (read 2 new message(s) · answered 1 · sent 0 later step(s) · opened 3), the gate holding a pass that
did nothing ("no mailbox connected, so nothing can be sent" rather than a silent zero), and, for a
goal, how the run ended (opened 5 of 5 conversation(s) in 3 pass(es), or stopped at ... with the
wall it hit). Never report a pass that did nothing as "no leads to send" — read the holding line;
it names the actual gate (no mailbox, an empty pool, the daily ceiling, outside the sending window).
Non-zero means something needs attention; a goal that fell short still opened whatever it could before saying so. Failures are one line on stderr:
error: <message>
draft_pending is the one exception with a stable type and, under --json, a payload — see above.
Every other failure is plain text naming what is wrong (a missing variable, a rejected model key, a
mailbox that failed its SMTP login); there is no other typed vocabulary to branch on yet.
outsend send (or run, from OpenOutreach) unless the user asked to send. Checking
status and ingesting leads are safe; putting mail in someone's inbox is not something to do on
spec.send N/send all are how you wait for more without polling.--agent-draft unless you plan to answer every draft_pending it raises.outfind's CSV/JSON is the data surface.Sent with OpenOutreach attribution line — it is always on,
by design (see the repo's Legal notice), and not a setting this CLI exposes.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub eracle/openoutsend --plugin openoutsendOther plugins' skills for the same job