> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nudgen.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Email for Agents

> Give Claude Code, Codex, Cursor, OpenClaw and your own agents structured ways to install Nudgen, migrate your stack, send events, and work with Nudgen.

## Introduction

Nudgen is built for the agentic era. We provide structured ways for AI agents like **Claude Code**, **Codex**, **Cursor**, and **OpenClaw** to interact with your marketing stack.

Whether you need to install Nudgen in a new app, migrate from a legacy provider, or automate campaign workflows, our agent-first interfaces give your tools reliable access to contacts, campaigns, brand settings, and email draft generation.

<CardGroup cols={2}>
  <Card title="Skills" icon="book-open" href="/en/agents/skills">
    Composable modules that teach your agent how to work with Nudgen.
  </Card>

  <Card title="CLI" icon="terminal" href="/en/agents/cli/introduction">
    Go-powered command center for orchestration and tracking from the terminal.
  </Card>

  <Card title="Developer API" icon="code" href="/en/agents/api">
    REST endpoints with Personal Access Token auth.
  </Card>

  <Card title="MCP server" icon="bot" href="/en/agents/mcp">
    Tool-based access for Claude Code, Cursor, Windsurf, Codex CLI, and other agents.
  </Card>
</CardGroup>

## Works with

* **Codex**
* **Claude Code**
* **Cursor**
* **OpenClaw**
* Any MCP-capable or HTTP-capable agent

## Use cases

What does agentic marketing look like in reality? Here are a few common workflows:

### "Create a contact and launch a campaign"

**What the agent does:** Uses the REST API or MCP tools to create a contact, draft campaign copy, create a campaign, and schedule launch through Nudgen.

**What you finish:** Review dashboard stats and stop or iterate campaigns from the web app.

***

### "Test this transactional email from the terminal"

**What the agent does:** Uses the CLI or API to send a test email with your template and sample data. Shows response status and delivery confirmation.

**What you finish:** Check your inbox, review the rendered email, publish the template when ready.

***

### "Audit my email setup and map it to Nudgen"

**What the agent does:** Scans your codebase for email provider calls, identifies sends, templates, and webhook paths. Maps each to a Nudgen equivalent and produces a file-by-file migration plan.

**What you finish:** Recreate templates in the Nudgen editor, configure unsubscribe settings, and verify test sends.

***

### "Install Nudgen in my Next.js app"

**What the agent does:** Detects Next.js, stores your PAT securely, creates a contact sync route, and adds a campaign or draft-generation example.

**What you finish:** Create your API key in the Nudgen dashboard, verify the test request, and publish the workflow.

## Resources

<CardGroup cols={2}>
  <Card title="Developer API" icon="code" href="/en/agents/api">
    REST endpoints for contacts, campaigns, brand settings, and AI drafts.
  </Card>

  <Card title="MCP server" icon="bot" href="/en/agents/mcp">
    Hosted MCP setup and client-specific installation examples.
  </Card>

  <Card title="Skills Repository" icon="github" href="https://github.com/Nudgen-Marketing/skills">
    Agentic marketing skills library.
  </Card>
</CardGroup>

## Roadmap

We are constantly expanding our agent capabilities:

* **Setup skill**: Detects your stack, wires auth, and creates working examples.
* **Migrate skill**: Audits your stack and builds a migration plan.
* **Programmable email authoring**: Write email templates using code.
* **MCP server**: Available for PAT-authenticated agent workflows.

Next, explore the [Developer API](/en/agents/api) or [MCP server](/en/agents/mcp).
