AI integrations/Coding agents

Codex

Use Transmitly from Codex

Let Codex inspect delivery state and draft email code with the Transmitly CLI and API.

Use the Transmitly CLI for quick inspection and the API/SDK for implementation. If your Codex environment supports MCP, point it at the same local Transmitly server.

Connect

Add Transmitly to Codex.

Writing integration code, generating payloads and checking a real message from the terminal.

terminal
export TRANSMITLY_API_KEY=txk_...

npx @transmitly/cli messages list --status bounced
npx @transmitly/cli messages get msg_...
npx @transmitly/cli domains list
npx @transmitly/cli health

Use a dedicated API key. Read-only inspection needs the read scope; inbox replies also need send. Keep the key in an environment variable or secret manager.

What the agent can do

  • Generate a correct send payload for your SDK
  • Inspect message and delivery state from the CLI
  • Check domains and deliverability
  • Draft tests around durable acceptance and retries

Guardrails

  • Never let the agent invent a successful delivery result. Read the delivery state from the API.
  • Use the CLI for inspection and the API/SDK for actual application code.
  • Keep API keys in environment variables and use test-mode keys during development.

Example prompts

Ask for evidence, not invented success.

These prompts work well because they force the agent to read message and delivery state before writing code or drafting a reply.

“Write a Node.js send function using @transmitly/sdk and an Idempotency-Key.”

“Use the CLI to inspect this message and explain the delivery failure.”

“Add a test for a 202 response and a 409 idempotency conflict.”

“Generate a batch send for 50 recipients with per-item results.”

Keep going

Docs for the next step.

All AI integrations →