Mandrill integration
Mandrill, the Mailchimp Transactional API, for one-to-one transactional email: send a message or a stored template, search the send history, read the metadata and the rendered content of a delivered message, manage subaccounts, create, read and render templates, and check that the key works. Every call is a POST and the API key travels inside the JSON body.
Say what should happen.
The workflow builds itself.
Common Mandrill use cases
- sending password reset emails
- confirming that a receipt was opened
- previewing a template before a campaign
- validating the key at the start of a run
- reproducing the email a customer received
- provisioning templates from source control
- checking whether a customer received an email
- finding the slug of a template before sending
- cleaning up a subaccount when a customer leaves
- giving each customer its own sending reputation
What you can do with Mandrill
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Message, 5 operations
get_message_contentGet message contentPOSTAgents: ask firstReads the exact body, headers and attachments that were delivered.get_message_infoGet message infoPOSTAgents: ask firstReads the status, opens and clicks of a sent message.search_messagesSearch messagesPOSTAgents: ask firstFinds sent messages by recipient, sender, tag or full text.send_messageSend messagePOSTAgents: ask firstDelivers a message composed inline and reports the outcome per recipient.send_templateSend templatePOSTAgents: ask firstDelivers a stored template to recipients, filling in its editable regions.
Subaccount, 4 operations
create_subaccountCreate subaccountPOSTAgents: ask firstAdds a subaccount that sends can be attributed to.delete_subaccountDelete subaccountPOSTAgents: ask firstRemoves a subaccount and returns its final record.get_subaccountGet subaccountPOSTAgents: ask firstReads the status, quota and recent statistics of a subaccount.list_subaccountsList subaccountsPOSTAgents: ask firstReturns every subaccount with its status and send counters.
Template, 4 operations
create_templateCreate templatePOSTAgents: ask firstAdds a template and optionally publishes it straight away.get_templateGet templatePOSTAgents: ask firstReads the draft and published content of a template.list_templatesList templatesPOSTAgents: ask firstReturns every template with both its draft and its published content.render_templateRender templatePOSTAgents: ask firstReturns the HTML a template produces for a given set of values.
Account, 2 operations
get_account_infoGet account infoPOSTAgents: ask firstReads the account username, quota, backlog and send statistics.pingPingPOSTAgents: ask firstConfirms the credential works.
Use Mandrill from Claude Code, Cursor or Codex
Connect Mandrill in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Mandrill operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Mandrill
- Create your workspace
Sign up free. Nothing to install.
- Connect Mandrill once
Add your Mandrill connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Mandrill integration FAQ
What can you do with the Mandrill integration?
LiveContext exposes 15 operations on Mandrill, covering message, subaccount, template and account. Common uses include sending password reset emails, confirming that a receipt was opened and previewing a template before a campaign.
