AI agents
Let your coding agent wire up email
Envello is one REST endpoint with plain-text docs, so Claude Code, Cursor or any other coding agent can add sending in a single prompt. You create the API key and verify the domain; the agent writes the code.
1. Give the agent this prompt
Add transactional email to this project using Envello. Read https://envello.dev/api.md for the API. Use the ENVELLO_API_KEY environment variable, never hardcode the key. Send from an address on our verified domain. Pass an Idempotency-Key header on sends that might be retried.
2. What it should produce
One authenticated POST per email. If the agent writes something more complicated than this, ask it why.
curl -X POST https://api.envello.dev/emails \
-H "Authorization: Bearer $ENVELLO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"from": "[email protected]", "to": "[email protected]", "subject": "Welcome", "html": "<p>Hi</p>"}'3. Keep two things human
Create the API key yourself and put it in your secret store, and add the DNS records for your sending domain yourself. Neither belongs in an agent's context window or your repository.
Machine-readable docs
Point an agent or an AI search tool at these instead of the HTML pages. There's no MCP server yet; agents call the REST API directly.