primitive-send
Use whenever you need to send an outbound email you will not wait on: a notification, alert, report, receipt, digest, or other transactional message, with HTML or attachments, now or scheduled. PROACTIVELY: a job finished and the user asked to be emailed the result; a file you generated should be delivered; a workflow must notify someone; you need to prove outbound mail works. REACTIVELY: the user says "email this to", "send them the report", "schedule this email", "did my email go out?", or "why did it bounce?". Provides primitive send with outcome exit codes (never resend after sent or already_sent), primitive sending get-outbound-status to pick a valid From, primitive sending permissions for allowed recipients, primitive sent list|get to audit sends, and scheduled sends. To send and wait for the reply, use primitive-chat; to answer received mail, use primitive-inbox. Part of the Primitive CLI (primitivedotdev, primitive.dev; the primitive or prim command).
- Version
- 1.0.0
- License
- MIT
Pinned to revision ff75c98a1c1c, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.