Enginemailer MCP server for AI agents

Live

API KEY

EMAIL MARKETING

Marketing

Enginemailer gives your agent email campaigns and transactional sending: create, schedule, and send campaigns, manage subscribers, categories, and custom fields, send transactional email, and read delivery stats and report exports.

  • Per-user credentials: each call uses the actual user's API key, 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.
Enginemailer
agent · Acme Q3
Run
How did the October promo campaign do?
S
enginemailer_campaign_delivery_status_get
152ms
Email marketing agent
The October promo campaign was delivered to 3,940 subscribers. Open and click stats are included in the result.
Sources: Enginemailer campaign delivery stats, 1 campaign
enginemailer
1 campaign
18:29
Message Claude...

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

CALL ANY TOOL
26 tools for email marketing in Enginemailer: create, schedule, and send campaigns, manage subscribers and categories, send transactional email, and read delivery stats.
enginemailer_campaign_categories_list
List campaign categories
List the subscriber categories available for campaign targeting. Returns categories with ID and name. Use List Campaign Subcategories for a category's subcategories.
Parameters
Name
Type
Required
Description
—
No parameters required
enginemailer_campaign_create
Create campaign
enginemailer_campaign_delete
Delete campaign
enginemailer_campaign_delivery_status_get
Get campaign delivery status
enginemailer_campaign_pause
Pause campaign
enginemailer_campaign_recipient_list_assign
Assign campaign recipient list
enginemailer_campaign_recipient_list_delete
Delete campaign recipient list
enginemailer_campaign_schedule
Campaign schedule
enginemailer_campaign_send
Send campaign
enginemailer_campaign_subcategories_list
List campaign subcategories
enginemailer_campaign_update
Update campaign
enginemailer_campaigns_list
List campaigns
enginemailer_category_save
Category save
enginemailer_custom_fields_list
List custom fields
enginemailer_subcategories_get
Get subcategories
enginemailer_subscriber_activate
Activate subscriber
enginemailer_subscriber_delete
Delete subscriber
enginemailer_subscriber_get
Get subscriber
enginemailer_subscriber_insert
Subscriber insert
enginemailer_subscriber_unsubscribe
Subscriber unsubscribe
enginemailer_subscriber_update
Update subscriber
enginemailer_subscribers_batch_update
Update subscribers batch
enginemailer_subscribers_batch_update_status
Subscribers batch update status
enginemailer_transactional_email_send
Send transactional email
enginemailer_transactional_report_export
Export transactional report
enginemailer_transactional_report_export_status
Transactional report export status
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);

// Enginemailer tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["enginemailer"], toolNames: [
    "enginemailer_campaign_create",
    "enginemailer_campaign_schedule",
    "enginemailer_campaign_delivery_status_get"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Create a campaign with this content, schedule it for tomorrow morning, and show delivery stats once it has gone out" }] });
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: ["enginemailer"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Create a campaign with this content, schedule it for tomorrow morning, and show delivery stats once it has gone out" }],
  tools,
});

// Execute the tool call with the user's vaulted Enginemailer API key
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: ["enginemailer"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Create a campaign with this content, schedule it for tomorrow morning, and show delivery stats once it has gone out" }],
  tools,
});

// Tool call runs with the user's vaulted Enginemailer API key
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: ["enginemailer"] }, pageSize: 100,
});

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

await agent.run("Create a campaign with this content, schedule it for tomorrow morning, and show delivery stats once it has gone out");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Enginemailer tool. Click to copy, paste into your agent, done.
Campaigns
Copy the prompt
Copied
Create a campaign with this subject and HTML content.
Copy the prompt
Copied
Schedule this campaign for tomorrow at 09:00.
Copy the prompt
Copied
Show delivery stats for my last delivered campaign.
Subscribers
Copy the prompt
Copied
Add this subscriber to the newsletter category.
Copy the prompt
Copied
Update the custom fields for this subscriber.
Copy the prompt
Copied
Add or update these 500 subscribers in one job.
Transactional email
Copy the prompt
Copied
Send a transactional email using this template.
Copy the prompt
Copied
Start a CSV export of transactional activity for last month.
Copy the prompt
Copied
Check whether the export has finished.
SEE HOW AUTH WORKS
Each user connects their own Enginemailer API key once, and Scalekit sends it with every call. Keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Enginemailer
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
Enginemailer
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
Enginemailer
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
Enginemailer
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 and communication 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 and communication 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 Enginemailer API key looks fine in a demo. In production every campaign send and subscriber change 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.
Enginemailer 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 Enginemailer as the user or through a shared key?
As the user. Each user connects their own Enginemailer API key once, and Scalekit sends it with every call. Audit logs attribute every campaign send, subscriber change, and delete to that user, not a shared service account.
Where is the Enginemailer API key stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new API key. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Enginemailer?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the list and get tools without enginemailer_campaign_send, enginemailer_campaign_delete, or enginemailer_subscriber_delete. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Enginemailer 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.
Can the agent schedule a campaign in Enginemailer?
Yes. enginemailer_campaign_schedule sets a send time on a 15-minute boundary, and enginemailer_campaign_pause pauses a scheduled campaign that has not started delivering.
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"": {
""enginemailer"": {
""url"": ""https://mcp.scalekit.com/enginemailer"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.enginemailer]
url = ""https://mcp.scalekit.com/enginemailer""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""enginemailer"": {
""url"": ""https://mcp.scalekit.com/enginemailer"",
""type"": ""http""
}
}
}