Email for agents
Let Claude Code, Codex, ChatGPT, Cursor, and your own coding agents install Loops, migrate your stack, send events, and test transactional email using the CLI, API, SDKs, and agent skills.
Use agents for setup, migrations, content, events, and testing
What it looks like in practice
Install Loops
Install Loops in my Next.js app
Detected Next.js. I installed the JavaScript SDK, wired LOOPS_API_KEY from .env, set up a contact sync route with a transactional send example, and wrote you a testing checklist.
Migrate your stack
Audit my email setup and map it to Loops
I scanned your codebase and found every send, template, and webhook. Each one maps to a Loops equivalent, so I swapped the API calls and rebuilt your templates in LMX through the Content API.
Send events
Send a cancellation event into Loops
Draft campaigns
Draft a product update campaign
I wrote the email in LMX, created a draft campaign, then added the subject, sender, and full content through the Content API. Tell me what to change and I’ll revise the copy.
Test transactional email
Test this transactional email from the terminal
Sent a test through the CLI with your transactional ID and sample data variables. The send came back confirmed, so check your inbox for the rendered email.