Elastic Email MCP, CLI, and Lua Integration for AI Agents
Elastic Email integration docs for AI agents: MCP gateway setup, Elastic Email CLI commands, Lua API reference, credentials, and function schemas.
6 functions 4 read 2 write API key auth
Elastic Email for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
elastic-email- route_slug
elastic-email- package
elastic-email- auth_strategy
api_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Elastic Email CLIHeadless setup and direct function calls. Elastic Email MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Elastic Email MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Elastic Email.
Claude Code Elastic Email MCP setup for Claude Code. Cursor Elastic Email MCP setup for Cursor. Codex Elastic Email MCP setup for Codex. OpenAI Agents Elastic Email MCP setup for OpenAI Agents SDK. Claude Agent SDK Elastic Email MCP setup for Claude Agent SDK. Vercel AI SDK Elastic Email MCP setup for Vercel AI SDK. LangChain Elastic Email MCP setup for LangChain. LangGraph Elastic Email MCP setup for LangGraph. CrewAI Elastic Email MCP setup for CrewAI. MCP clients Elastic Email MCP setup for Generic MCP Clients.
Elastic Email CLI Matrix
Use these pages for direct Elastic Email CLI workflows in scripts, CI, cron, and agent wrappers.
CI Elastic Email CLI for CI. Cron Jobs Elastic Email CLI for cron jobs. Shell Scripts Elastic Email CLI for shell scripts. Headless Automation Elastic Email CLI for headless automation. Coding Agents Elastic Email CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
elastic-email.elasticemail_send_email | Write write | 8 | Send a transactional email via Elastic Email. Provide the recipient address, subject, and HTML body. |
elastic-email.elasticemail_list_templates | Read read | 2 | List email templates available in your Elastic Email account. |
elastic-email.elasticemail_get_template | Read read | 1 | Get details of a specific email template by its ID from Elastic Email. |
elastic-email.elasticemail_list_contacts | Read read | 2 | List contacts from your Elastic Email account. |
elastic-email.elasticemail_create_contact | Write write | 4 | Create or add a contact in Elastic Email. Optionally assign the contact to an existing list. |
elastic-email.elasticemail_get_current_user | Read read | 0 | Get information about the currently authenticated Elastic Email user account. |