# AutoEmails MCP For Codex | Plugin & config.toml Setup

Source: https://autoemails.com/mcp/codex

> Set up AutoEmails as an MCP server in OpenAI Codex — desktop plugin with OAuth or config.toml with a workspace key — and run outreach campaigns from your agen

Option A — Codex desktop plugin (OAuth)

Codex → Settings → Plugins → Add plugin → custom MCP.

URL: https://xcfsmazseciunaoarmwx.supabase.co/functions/v1/mcp-server

Authorization: OAuth. Scopes: mcp:read mcp:write mcp:admin.

Sign in to AutoEmails and approve the workspace (e.g. Cost Cutting Experts).

Press Refresh tools after any AutoEmails update.

Option B — config.toml with a workspace key

Create a key in AutoEmails → Settings → MCP. Live actions made with a key need admin approval at autoemails.com rather than a yes in chat.

Permissions

mcp:read — read campaigns, leads, replies, meetings, reports and settings.

mcp:write — create drafts, edit copy, create variables, send tests to your own team.

mcp:admin — go live, add contacts, spend Decision Maker credits, save integration keys. Every one of these asks you to confirm in chat, and the workspace owner gets an email receipt with a 15-minute Stop link.

Changing permissions later (no need to uninstall)

Permissions are granted when you sign in. To add or change them, reconnect the account rather than uninstalling the plugin.

Open your assistant's plugin/connector settings → AutoEmails.

Under Connected accounts, open the … menu on your AutoEmails account and choose Disconnect.

Choose Connect another account, sign in to AutoEmails, pick the workspace and approve all permissions (read, draft, go-live).

Press Refresh tools so the newest actions load.

Ask your agent to call connection_status — it confirms which permissions it now has.

Safety model

Your agent can never send on its own. Anything real-world returns a plain summary first; it only happens after you reply yes, from the same signed-in owner or admin, within 15 minutes.

Live sends are refused unless the exact current copy has been test-sent in the last 24 hours. Changing a word means a new test.

A verified sending domain, the daily sending cap, sending hours and unsubscribes always apply. Opted-out contacts are never re-added.

## About AutoEmails

AutoEmails is an AI email marketing platform built around Leo, an autonomous AI email marketing agent. Leo analyses your business, finds the right audience, writes and designs emails, launches campaigns and reports on replies, meetings, orders and revenue.

The platform covers three engines in one account: Outreach, which finds new companies or decision makers and emails them with personalised plain-text messages and follow-ups; Marketing, which sends designed HTML newsletters and campaigns to your own contacts; and Automations, which run triggered email journeys such as welcome series, abandoned cart recovery and re-engagement.

Leo works autonomously within guardrails. It can suggest and launch campaigns, resend to non-openers, expand targeting when a lead scan falls short and pause sending when deliverability signals such as bounce or spam-complaint rates rise. Every action is logged with an evidence trail so you can see what Leo did and why.

AutoEmails connects to Shopify, WooCommerce, WordPress, Calendly, Google Analytics, Google Search Console and custom e-commerce stores, so campaigns can be measured on real outcomes: replies and booked meetings for lead generation, and orders and revenue for e-commerce.

Pricing is capacity-based in British pounds, starting with a free plan. You can start free at autoemails.com without a credit card, let Leo scan your business and review the first campaign before anything is sent.

## Related pages

- [AutoEmails MCP For Cursor | Setup Guide](https://autoemails.com/mcp/cursor): Use AutoEmails from Cursor's agent through MCP: build campaigns, read results and send tests from your editor.
- [AutoEmails MCP For Claude | Custom Connector Setup](https://autoemails.com/mcp/claude): Add AutoEmails to Claude or Claude Code as a remote MCP connector and let Claude run outreach and newsletters with you approving every send.
- [How AI Agents Run Outreach In AutoEmails | Playbook](https://autoemails.com/mcp/outreach-playbook): The exact procedure an AI agent follows to build and launch cold outreach in AutoEmails: businesses vs decision makers, questions to ask, variables, writing r
- [AutoEmails MCP For ChatGPT | Custom Plugin Setup](https://autoemails.com/mcp/chatgpt): Step-by-step: add AutoEmails as a custom MCP plugin in ChatGPT so your GPT agent can build outreach, send tests and run campaigns through AutoEmails' bulk sen
- [Run Email Marketing From Your AI Agent | AutoEmails](https://autoemails.com): AutoEmails is the safe email layer for AI agents. Ask ChatGPT, Claude, Cursor or Gemini to build newsletters, push HTML designs, send tests and sync CRM contacts — live sends wait for your approval.
- [How AutoEmails Works — AI Email Marketing Agent Explained](https://autoemails.com/how-it-works): See how the AutoEmails AI agent finds leads, writes personalised emails, launches campaigns and runs automations for you — outreach, marketing and automation in one platform.
- [Pricing Plans from Free to Enterprise | AutoEmails](https://autoemails.com/pricing): Transparent pricing for every stage of growth. Start free, scale as you grow. No hidden fees, no audience-based billing. Cancel anytime.
- [All Features — AI Outreach & Email Marketing | AutoEmails](https://autoemails.com/product): Discovery, campaigns, autopilot, AI personalisation, warm leads, analytics, flows, and more. Everything you need for outbound and inbound growth.