Mailcoach MCP server
70 operations0 webhooks
Manage Mailcoach email lists, subscribers, campaigns, transactional mails, imports, tags, segments, and delivery statistics through its team-scoped REST API.
Try Mailcoach with your agent
Connect Mailcoach, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in Mailcoach on my account, then run one read-only example and show me the result.
Mailcoach tools and triggers
Tools are what your agent can do in Mailcoach through Corsair's MCP server. Triggers are the Mailcoach events a routine can start from.
Subscribers
- Add TagsWrite
Add tags to a subscriber without replacing their existing tags.
subscribers.addTags
- ConfirmDestructive
Confirm a subscriber by UUID, changing their subscription state.
subscribers.confirm
- Confirm By EmailDestructive
Confirm a subscriber using their email address and list UUID.
subscribers.confirmByEmail
- DeleteDestructive
Permanently remove a subscriber record and its subscription history.
subscribers.delete
- GetRead-only
Get a subscriber by UUID.
subscribers.get
- ListRead-only
List subscribers for an email list with documented filters and sorting.
subscribers.list
- Remove TagsWrite
Remove the specified tags from a subscriber.
subscribers.removeTags
- Resend ConfirmationDestructive
Send a confirmation email to a subscriber.
subscribers.resendConfirmation
- Resend Confirmation By EmailDestructive
Send a list confirmation email to the supplied address.
subscribers.resendConfirmationByEmail
- SubscribeDestructive
Subscribe or update an address; this can restart an unsubscribed contact.
subscribers.subscribe
- UnsubscribeDestructive
Unsubscribe a subscriber while retaining subscription history.
subscribers.unsubscribe
- Unsubscribe By EmailDestructive
Unsubscribe an address from a list while retaining subscription history.
subscribers.unsubscribeByEmail
- UpdateWrite
Update subscriber profile data and replace or append tags.
subscribers.update
Campaigns
- BouncesRead-only
List paginated bounce statistics for a sent campaign.
campaigns.bounces
- ClicksRead-only
List paginated click statistics; this route also has a 5 requests/second burst limit.
campaigns.clicks
- CreateWrite
Create a campaign draft; it is not sent. Use campaigns.schedule or campaigns.send to deliver it.
campaigns.create
- DeleteDestructive
Delete a campaign.
campaigns.delete
- GetRead-only
Get a campaign draft or sent campaign by UUID.
campaigns.get
- ListRead-only
List campaigns with documented filters, sorting, and pagination.
campaigns.list
- OpensRead-only
List paginated open statistics for a sent campaign.
campaigns.opens
- ScheduleDestructive
Schedule a campaign to send to its audience at schedule_at (UTC). Resend all campaign settings; this is a full update.
campaigns.schedule
- SendDestructive
Send a campaign to its eligible audience; never automatically retry after a timeout.
campaigns.send
- Send TestDestructive
Send a test campaign email to up to ten comma-separated addresses.
campaigns.sendTest
- UnsubscribesRead-only
List paginated unsubscribe statistics for a sent campaign.
campaigns.unsubscribes
- UpdateWrite
Replace campaign settings; include all intended fields because omitted values reset, including an existing schedule (use campaigns.schedule to keep one).
campaigns.update
Subscriber Imports
- AppendWrite
Append CSV rows without repeating the header to a draft import.
subscriberImports.append
- CreateWrite
Create a draft CSV subscriber import without starting processing.
subscriberImports.create
- DeleteDestructive
Delete a subscriber import.
subscriberImports.delete
- GetRead-only
Get subscriber-import status and processing counts.
subscriberImports.get
- ListRead-only
List subscriber imports with pagination.
subscriberImports.list
- StartDestructive
Start processing an import that can subscribe or unsubscribe contacts.
subscriberImports.start
- UpdateWrite
Replace the CSV and options of a draft subscriber import.
subscriberImports.update
Automation Mails
- CreateWrite
Create an automation mail without starting its automation.
automationMails.create
- DeleteDestructive
Delete an automation mail.
automationMails.delete
- GetRead-only
Get an automation mail by UUID.
automationMails.get
- ListRead-only
List automation mails with filters, sorting, and pagination.
automationMails.list
- UpdateWrite
Update an automation mail by UUID.
automationMails.update
Email Lists
- CreateWrite
Create an email list with its required sender address.
emailLists.create
- DeleteDestructive
Delete an email list and schedule its associated-data cleanup.
emailLists.delete
- GetRead-only
Get an email list by its UUID.
emailLists.get
- ListRead-only
List email lists with documented name filters, sorting, and pagination.
emailLists.list
- UpdateWrite
Update an email list and its required sender defaults.
emailLists.update
Segments
- CreateWrite
Create a segment with positive and negative tag conditions.
segments.create
- DeleteDestructive
Delete a segment from an email list.
segments.delete
- GetRead-only
Get a tag-based segment by UUID.
segments.get
- ListRead-only
List tag-based segments belonging to an email list.
segments.list
- UpdateWrite
Replace a segment name and its complete tag conditions.
segments.update
Tags
- CreateWrite
Create or retrieve a regular tag by its case-insensitive name.
tags.create
- DeleteDestructive
Delete a tag from an email list.
tags.delete
- GetRead-only
Get a tag by its UUID within an email list.
tags.get
- ListRead-only
List tags belonging to an email list.
tags.list
- UpdateWrite
Update a tag name and preference visibility.
tags.update
Templates
- CreateWrite
Create a campaign template using HTML and optional editor data.
templates.create
- DeleteDestructive
Delete a campaign template.
templates.delete
- GetRead-only
Get a campaign template by UUID.
templates.get
- ListRead-only
List campaign templates with name search, sorting, and pagination.
templates.list
- UpdateWrite
Update a campaign template; include its required name.
templates.update
Suppressions
- CreateDestructive
Block an address across the team by adding a manual suppression.
suppressions.create
- DeleteDestructive
Remove an allowed suppression; hosted Mailcoach forbids deleting spam complaints.
suppressions.delete
- GetRead-only
Get a suppression by UUID or URL-encoded email address.
suppressions.get
- ListRead-only
List sending suppressions with documented search and reason filters.
suppressions.list
Sends
- DeleteDestructive
Delete a send record; this cannot recall a delivered email.
sends.delete
- GetRead-only
Get a delivery attempt and its recorded engagement events.
sends.get
- ListRead-only
List delivery attempts with association filters and pagination.
sends.list
Transactional Mails
- Get TemplateRead-only
Get a saved transactional email template by UUID.
transactionalMails.getTemplate
- List TemplatesRead-only
List saved transactional email templates, not sent-mail log items.
transactionalMails.listTemplates
- SendDestructive
Send or fake-send a transactional email using inline content or a saved mail.
transactionalMails.send
Links
- GetRead-only
Get a tracked link and click records; this route has a 5 requests/second burst limit.
links.get
Uploads
- CreateWrite
Upload up to ten JPEG, PNG, GIF, or WebP images via documented JSON base64 input.
uploads.create
User
- GetRead-only
Get the user associated with the configured Mailcoach API token.
user.get
Connect Mailcoach to Claude, ChatGPT or Cursor
- 1
Connect Mailcoach in Corsair
Add your Mailcoach API key once in Corsair. Corsair stores the credential encrypted and makes the Mailcoach API calls for your agent, so it never goes into a prompt or a config file. Connect Mailcoach
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Mailcoach. On a ChatGPT personal plan, connect Mailcoach here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Customize → Connectors → Add custom connector, paste the address, then select Connect.Add a custom MCP server with the address and choose OAuth. Personal plans get read tools only.Add to CursorOr add this to~/.cursor/mcp.json. Cursor opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Mailcoach's read and write operations run right away and its 23 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/mailcoach, add the Mailcoach plugin, and connect with an API key. Then call methods like corsair.mailcoach.api.automationMails.create() from your app. Corsair keeps each tenant isolated.
Yes. Mailcoach requires an API key from your Mailcoach account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit Mailcoach, GitHub, Notion, Stripe, and the rest. Trigger Mailcoach from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for manage Mailcoach email lists, subscribers, campaigns, transactional mails, imports, tags, segments, and delivery statistics through its team-scoped REST API. Common builds include sync jobs, admin tooling, and agents that call Mailcoach APIs from your backend.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Mailcoach API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/mailcoach in the open repo. When Mailcoach ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your Mailcoach data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Mailcoach data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put Mailcoach on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 23 destructive Mailcoach operations. You can change a link's mode at hub.corsair.dev/me.