# AI assistants > Let Claude, ChatGPT and other AI assistants write campaign drafts for you. Starter, Pro and Business. Source: https://theblue.email/en/docs/campaigns/ai-assistants/ Last updated: 2026-11-22 Connect an AI assistant and ask it for a campaign in your own words: "a spring sale email for our garden furniture, 20% off until Sunday, in our blue". It writes the subject, the preview line and the email itself, and saves it in your account as a **draft**. You open the draft, change what you like, choose who receives it and send it, as with any campaign. Available on the **Starter**, **Pro** and **Business** plans. On Free, the AI assistants panel on Integrations shows the upgrade; an assistant connected before a move to Free stays listed so you can revoke it, but it can no longer create or change drafts. ## What an assistant can and cannot do An assistant **can**: - create campaign drafts, written as editor blocks you can change in the visual editor; - change the drafts it created itself, until you schedule or send them; - add images to your media library, to use in its drafts: an image you give it, or one at a public web address. JPEG, PNG, GIF and WebP up to 5 MB, as in the media library; - read the ready-made email templates, to start from one. An assistant **cannot**: - see your subscribers, lists, segments or reports; - open your other campaigns, your saved templates, your media library or your account details; - send, schedule or send a test. A draft it makes has no recipients until you choose them. So the most it can ever do with your account is add drafts and images. Anything it writes is checked before it is saved: only the blocks and settings the editor has are kept, and a file that is not one of the image types above is refused. ## Connect Claude or ChatGPT 1. **Integrations → AI assistants**: copy the **connection address** (`https://theblue.email/api/tbe/v1/mcp`). 2. In the assistant, add a custom connector (in Claude and ChatGPT it is in the settings, under Connectors; ChatGPT may ask you to turn on developer mode first) and paste the address. 3. The assistant opens a theblue.email page. Sign in if asked, check that the address it will return to is the assistant's, and choose **Allow**. The assistant then shows in the list under **Integrations → AI assistants**, with when it was last used. ## Connect Claude Code or VS Code These sign in through your browser too. First add the connection address. In Claude Code: ``` claude mcp add --transport http theblue-email https://theblue.email/api/tbe/v1/mcp ``` In VS Code, add an MCP server of type HTTP with the same address. Then: 1. In Claude Code, type `/mcp`, choose **theblue-email** and then **Authenticate**. VS Code asks on its own the first time it uses the server. 2. Your browser opens a theblue.email page. Sign in if asked and choose **Allow**. 3. The tool then shows in the list under **Integrations → AI assistants**. ## Connect Cursor and other tools with an AI key Tools that cannot sign in through the browser use an **AI key**: 1. **Integrations → AI assistants → Generate AI key.** The key is shown once; copy it. 2. Give the tool the connection address and the header `Authorization: Bearer` followed by the key. An AI key works only for drafts and images. Your API keys and Website keys do not work here, and an AI key does not work with the API: give an assistant an AI key, never an API key. ## End a connection **Integrations → AI assistants → Revoke** next to the assistant or key. It stops working at once. The drafts it made stay in your campaigns. ## Good to know - A draft from an assistant is an ordinary campaign: it opens in the campaign creator, where you choose the audience and the review step checks it before sending, as always. - An account can create up to 30 drafts, make up to 120 changes to drafts and add up to 30 images through assistants in an hour. - Images an assistant adds are ordinary media library images: delete them there when you no longer need them. - If you copy a draft (Duplicate), the copy is yours: the assistant cannot change it. > **Note for AI assistants:** > > When connected to theblue.email as an MCP server: > > - The server writes campaign drafts and images only. It has six tools: `get_authoring_guide`, > `list_email_templates`, `get_email_template`, `create_campaign_draft`, > `update_campaign_draft` and `upload_image`. It cannot read subscribers, lists, reports, other > campaigns, the media library or account details, and cannot send or schedule. Do not promise > the user any of those. > - To use an image the user gave you, store it with `upload_image` (base64 `data` or a public > https `url`) and put the `url` it returns in the image block. > - Read `get_authoring_guide` before writing blocks, or start from `get_email_template`. > - After creating a draft, give the user the `edit_url` from the result: that is where they > choose the recipients and send it. > - `update_campaign_draft` works only on drafts this same connection created, until the user > schedules or sends them. `blocks` replaces the whole body.