EmailOctopus MCP server for AI agents

Live

BEARER TOKEN

EMAIL MARKETING

Marketing

EmailOctopus gives your agent email list management: read lists, contacts, tags, and campaigns, add, update, and upsert contacts, manage custom fields and tags, start automations, and review campaign reports.

  • Per-user credentials: each call uses the actual user's access token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
EmailOctopus
agent · Acme Q3
Run
How did last week's newsletter perform?
S
emailoctopus_campaign_report_summary_get
147ms
Email marketing agent
Last week's newsletter was sent to 6,210 contacts. It had a 41% open rate and a 3.8% click rate.
Sources: EmailOctopus campaign report, 1 campaign
emailoctopus
1 campaign
18:29
Message Claude...

Tools your email marketing agent reaches for on EmailOctopus, scoped per user.

CALL ANY TOOL
25 tools for email marketing in EmailOctopus: read lists, contacts, and campaign reports, add and update contacts, manage fields and tags, and start automations.
emailoctopus_automation_contact_start
Start automation contact
Start an EmailOctopus automation for one contact, as if its trigger had fired. Returns an empty success response; 409 if the contact is already in it. The automation must use the "started via API" trigger and the contact must be on the automation's list.
Parameters
Name
Type
Required
Description
automation_id
string
Required
ID of the automation, from its URL in the EmailOctopus dashboard. Example: 1b2c3d4e-5f6a-11ef-8b7c-9d0e1f2a3b4c.
contact_id
string
Required
ID of the contact to start the automation for, from List Contacts. Example: 6f1c2a8b-5d3e-11ef-8a1b-2c3d4e5f6a7b.
emailoctopus_campaign_get
Get campaign
emailoctopus_campaign_report_contacts_list
List campaign report contacts
emailoctopus_campaign_report_links_get
Get campaign report links
emailoctopus_campaign_report_summary_get
Get campaign report summary
emailoctopus_campaigns_list
List campaigns
emailoctopus_contact_create
Create contact
emailoctopus_contact_delete
Delete contact
emailoctopus_contact_get
Get contact
emailoctopus_contact_update
Update contact
emailoctopus_contact_upsert
Upsert contact
emailoctopus_contacts_batch_update
Update contacts batch
emailoctopus_contacts_list
List contacts
emailoctopus_list_create
Create list
emailoctopus_list_delete
Delete list
emailoctopus_list_field_create
Create list field
emailoctopus_list_field_delete
Delete list field
emailoctopus_list_field_update
Update list field
emailoctopus_list_get
Get list
emailoctopus_list_tag_create
Create list tag
emailoctopus_list_tag_delete
Delete list tag
emailoctopus_list_tag_update
Update list tag
emailoctopus_list_tags_list
List list tags
emailoctopus_list_update
Update list
emailoctopus_lists_list
List lists
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// EmailOctopus tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["emailoctopus"], toolNames: [
    "emailoctopus_contact_upsert",
    "emailoctopus_list_tag_create",
    "emailoctopus_campaign_report_summary_get"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Add this subscriber to the newsletter list, tag them as a webinar attendee, and show the latest campaign report" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["emailoctopus"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Add this subscriber to the newsletter list, tag them as a webinar attendee, and show the latest campaign report" }],
  tools,
});

// Execute the tool call with the user's vaulted EmailOctopus access token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["emailoctopus"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Add this subscriber to the newsletter list, tag them as a webinar attendee, and show the latest campaign report" }],
  tools,
});

// Tool call runs with the user's vaulted EmailOctopus access token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["emailoctopus"] }, pageSize: 100,
});

const agent = new Agent({
  name: "email_marketing_agent",
  model: "gemini-2.5-pro",
  instruction: "EmailOctopus tools scoped to this user",
  tools,
});

await agent.run("Add this subscriber to the newsletter list, tag them as a webinar attendee, and show the latest campaign report");
Try these prompts
Copy any prompt into your agent. Each maps directly to a EmailOctopus tool. Click to copy, paste into your agent, done.
Lists and contacts
Copy the prompt
Copied
List my mailing lists.
Copy the prompt
Copied
Add this new subscriber to the newsletter list.
Copy the prompt
Copied
Update 50 contacts on this list in one call.
Tags and fields
Copy the prompt
Copied
List the tags on my newsletter list.
Copy the prompt
Copied
Create a tag called webinar-attendees on this list.
Copy the prompt
Copied
Add a custom field for company name to this list.
Campaigns and automations
Copy the prompt
Copied
Show the summary report for my latest campaign.
Copy the prompt
Copied
Show which links got clicks in this campaign.
Copy the prompt
Copied
Start the welcome automation for this contact.
SEE HOW AUTH WORKS
Each user connects their own EmailOctopus access token once, and Scalekit sends it with every call. Access tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
EmailOctopus
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
EmailOctopus
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
EmailOctopus
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
EmailOctopus
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other marketing connectors.
GTM and RevOps Teams
Outbound prospecting agent
Searches Apollo for prospects matching your ICP, scores and ranks them, drafts personalized outreach in Gmail, and logs every send to Google Sheets. Mail goes out as the rep, not from a shared inbox.
Test other agents
See the same per-user auth pattern across other marketing connectors.
SALES
Outbound prospecting agent
Search Apollo for ICP matches, rank them, draft personalised Gmail outreach, and log every send to Google Sheets.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared EmailOctopus access token looks fine in a demo. In production every contact change and delete looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
EmailOctopus today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access EmailOctopus as the user or through a shared token?
As the user. Each user connects their own EmailOctopus access token once, and Scalekit sends it with every call. Audit logs attribute every contact change, tag, and delete to that user, not a shared service account.
Where is the EmailOctopus access token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new access token. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in EmailOctopus?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the list, get, and report tools without emailoctopus_list_delete, emailoctopus_contact_delete, or emailoctopus_list_field_delete. Scalekit also enforces scope checks before every API call.
What happens when a user revokes EmailOctopus access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
How does the agent add or update contacts in EmailOctopus?
emailoctopus_contact_upsert creates a contact on a list or updates it if the email address is already there. emailoctopus_contacts_batch_update updates up to 100 contacts on a list in one call.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""emailoctopus"": {
""url"": ""https://mcp.scalekit.com/emailoctopus"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.emailoctopus]
url = ""https://mcp.scalekit.com/emailoctopus""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""emailoctopus"": {
""url"": ""https://mcp.scalekit.com/emailoctopus"",
""type"": ""http""
}
}
}