Skip to content

primitivedotdev/primitive

v1.0.0MIT

Email infrastructure for AI agents. Skills to send, receive, and reply to email, run code on inbound mail, set up custom domains and webhooks, plus Primitive's hosted MCP server.

primitive-webhooks

Use whenever inbound email should reach YOUR OWN code as an HTTP webhook or a local event stream: point Primitive at a URL, verify the Primitive-Signature header, route addresses to handlers, and debug or replay failed deliveries. PROACTIVELY: you are building an app or API route that must react to received email; a webhook handler returns 401 or never fires; you need inbound events with no public URL. REACTIVELY: the user says "send incoming email to my endpoint", "verify the webhook signature", "route support@ to this handler", "why didn't my webhook fire?", or "replay that delivery". Provides primitive endpoints create|test, primitive account webhook-secret, primitive routes add|test, primitive deliveries list|replay, primitive listen, and the SDK's primitive.receive() verifier. To run the handler on Primitive's hosted runtime instead, use primitive-functions. Part of the Primitive CLI (primitivedotdev, primitive.dev; the primitive or prim command).

Version
1.0.0
License
MIT
Read SKILL.md at the source

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.