Connect ChatGPT
ChatGPT connects to anymail as a custom MCP server and signs in with OAuth. ChatGPT cannot send an API key, so OAuth is the only way.
Custom MCP servers depend on your ChatGPT plan and, on a business plan, on the policy of your workspace admin.
Add the server#
- Open the plugins page of ChatGPT at
https://chatgpt.com/plugins. - Select the plus button, then Add custom MCP server.
- Enter the name
anymailand a short description, for example "Cold email campaigns, prospects and replies". - Under Connection, enter the URL:
https://app.anymail.watch/api/mcp
- Under authentication, choose OAuth. ChatGPT reads the anymail metadata and registers itself. No client id or secret is needed.
- Read the warning about custom servers and confirm.
- Select Create as a plugin. ChatGPT shows the tools it found: there are 44.
- Sign in to anymail when ChatGPT asks. On the consent screen pick the Workspace and the Access, then select Allow.
Choose the access#
Read only gives ChatGPT the read tools: campaigns, statistics, prospects, replies, mailboxes and domains. Read and write also lets it create campaigns, enrol prospects, start campaigns and answer replies, which sends real email. The tool annotations mark every write, so ChatGPT can ask for your confirmation first.
Try it#
- "In anymail, which campaign got the most interested replies last week?"
- "List unread replies from anymail and summarise what each person wants."