The drin CLI puts the whole API one command away. Send and batch mail, tail delivery logs live, and manage domains, keys and templates — perfect for scripts, CI, and the moment you just want to fire a test send.
# send a one-off email drin emails send \ --to user@acme.com \ --subject "Hi" \ --html "<p>yo</p>" # → msg_8fK2q1 queued # follow delivery events as they happen drin logs tail # delivered msg_8fK2q1 user@acme.com 142ms # list your verified domains drin domains list # acme.run verified # mail.acme.run pending
Fire a single email with flags, or pipe a JSON file to send up to 100 in one call.
Stream delivery, bounce, open and complaint events to your terminal in real time.
Add domains, watch verification flip, and mint or revoke scoped API keys without the dashboard.
Create, version and send templates by id, with merge variables passed right on the command line.
Readable output when you're at the keyboard, clean JSON when a script is reading. It authenticates with the same key as everything else, so dropping a send into a deploy step or a cron job takes one line.
DRIN_API_KEY from your environment or a profile--json for scripts and pipes--product to target a projectGrab a key, follow the CLI quickstart in the docs, and run drin emails send. Test in the sandbox; production starts at $3 a month.