# CME Codemode — Email Workflow

> Chain any Connect My Email tools in one JavaScript call

## Description

Chain any Connect My Email tools in one JavaScript call — find them with cme_search, run them with cme_execute. Loops, conditionals and aggregation in a sandbox: the programmable inbox.

## MCP Server

```
https://mcp.connectmyemail.com
```

Add it as a custom connector in Claude or ChatGPT, or as an MCP server in Cursor / Windsurf. Your AI client asks you to sign in to Connect My Email the first time — no key needed. Step-by-step for each client: https://dashboard-dev.connectmyemail.com/docs

## Prompt

Using Connect My Email's code mode, write one script that lists my top 20 senders from the last 30 days, checks which of them have an unsubscribe link, and returns the result as a table. Read-only — don't change anything.

## Tool Sequence

1. cme_search
2. cme_execute

## Expected Output

One result built from several tools in a single call — a table or summary, with nothing changed unless you ask.

## Compatibility

- **Providers:** Any inbox
- **AI clients:** Any AI client
- **Tier:** free

---

*Generated by [ConnectMyEmail](https://dashboard-dev.connectmyemail.com) · Skill 03 of 15*
