SMTP2GO MCP server
69 operations2 webhooks
Transactional email and SMS with SMTP2GO - send single, batch and MIME messages, search sent email, activity and archives, manage suppressions, sender domains, single senders, templates, webhooks, API keys, SMTP users, IP auth, allowed lists and subaccounts, read stats, and receive email and SMS webhook events.
Try SMTP2GO with your agent
Connect SMTP2GO, 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 SMTP2GO on my account, then run one read-only example and show me the result.
SMTP2GO tools and triggers
Tools are what your agent can do in SMTP2GO through Corsair's MCP server. Triggers are the SMTP2GO events a routine can start from.
Domains
- AddWrite
Add a sender domain and get the DNS records to publish; verification starts right away unless auto_verify is false
domains.add
- Edit Return PathWrite
Edit the return-path subdomain: a Return Path Subdomain is used to instruct the server where to return emails that are not deliverable (ie. Bounces). This endpoint allows you to edit a Return Path…
domains.editReturnPath
- Edit Subaccount AccessWrite
Edit subaccount access: allow subaccounts to send from verified sender domains on the master account.
domains.editSubaccountAccess
- Edit TrackingWrite
Edit the tracking subdomain: a Tracking Subdomain is used to monitor your email opens and clicks. This endpoint allows you to edit a tracking subdomain for a particular sender domain. Full details…
domains.editTracking
- ListRead-only
List sender domains with DKIM and return-path verification state and tracking subdomains
domains.list
- RemoveDestructive
Remove a sender domain; mail from it stops being accepted and it must be added and verified again
domains.remove
- VerifyWrite
Run verification for one sender domain now instead of waiting for the periodic re-check
domains.verify
Api Keys
- AddDestructive
Add a new API key: add a new API key to your accountThis endpoint is rate-limited to 5 requests per minute. (mints a new credential)
apiKeys.add
- EditWrite
Edit an API key: edit an existing API key
apiKeys.edit
- ListRead-only
View API Keys: retrieve a list of API keys on this account
apiKeys.list
- PatchWrite
Patch an API key: patch an existing API key ignoring missing properties
apiKeys.patch
- PermissionsRead-only
View Permissions: retrieve a list of endpoints this API Key can use. This endpoint is available to all API Keys.
apiKeys.permissions
- RemoveDestructive
Remove an API key: remove an existing API key (revokes the key)
apiKeys.remove
- Cancel ScheduledDestructive
Cancel one queued scheduled email by schedule_id; the message will not be sent and must be scheduled again to go out
email.cancelScheduled
- Search ScheduledRead-only
List emails queued by a schedule, filtered by schedule_id, subject, sender or recipient
email.searchScheduled
- Search SentRead-only
Search sent emails by date, recipient, sender, subject or email_id, with opens, clicks, delivery status and a continue_token for the next page
email.searchSent
- SendDestructive
Send one email to up to 100 recipients, with HTML or plain text, a template, attachments, custom headers, or a schedule up to 3 days out; the result counts succeeded and failed recipients at HTTP 200, so check failed, not the status
email.send
- Send BatchDestructive
Send up to 1000 independent messages in one call; the answer carries one email_id or schedule_id entry per message
email.sendBatch
- Send MimeDestructive
Send one pre-encoded MIME message, with the same per-recipient succeeded/failed accounting as email.send
email.sendMime
Stats
- BouncesRead-only
Read bounce counts (hard, soft, rejects) over the last 30 days or a given window, per SMTP user or account-wide
stats.bounces
- CycleRead-only
Read the current billing cycle: emails sent, remaining and the plan cap
stats.cycle
- HistoryRead-only
Read per-recipient sending history rows with volumes, bounces, opens, clicks and spam reports for a date range
stats.history
- SpamRead-only
Read spam-complaint counts over the last 30 days or a given window
stats.spam
- SummaryRead-only
Read one combined report: billing cycle usage, bounces, spam, unsubscribes, opens and clicks
stats.summary
- UnsubscribesRead-only
Read unsubscribe counts over the last 30 days or a given window
stats.unsubscribes
Smtp Users
- AddWrite
Add an SMTP user: add a new SMTP user to your account. Full details of the available options for new user accounts can be found in the SMTP User Guide.
smtpUsers.add
- EditWrite
Edit SMTP user details: update an SMTP user's details with the parameters passed. Full details of the available options for SMTP user accounts is found in the SMTP User Guide.
smtpUsers.edit
- ListRead-only
View SMTP users: returns a list of all SMTP users that are managed by this account, or details of a specific user, when you include the [username] in your request. If no users are…
smtpUsers.list
- PatchWrite
Patch an SMTP user: patch an existing SMTP user ignoring missing properties
smtpUsers.patch
- RemoveDestructive
Remove an SMTP user: remove an SMTP user from your account (deletes the SMTP login)
smtpUsers.remove
Subaccounts
- AddDestructive
Add a subaccount: adds a new subaccount on your master account. Note: This end-point is rate limited to 50 calls per hour. (emails an invitation when subaccount_email is set)
subaccounts.add
- CloseDestructive
Close a subaccount: changes the status of an Active subaccount to Closed (stops the subaccount sending)
subaccounts.close
- EditWrite
Update a subaccount: changes the details on an existing subaccount
subaccounts.edit
- ReopenWrite
Reopen a closed subaccount: changes the status of a Closed subaccount back to Active
subaccounts.reopen
- SearchRead-only
View subaccounts: returns any subaccounts that match search criteria
subaccounts.search
Templates
- AddWrite
Create a template; the caller picks the template id, subject and both HTML and text bodies are required
templates.add
- DeleteDestructive
Delete a template by id; the answer's data carries a confirmation string
templates.delete
- EditWrite
Change a template by id, optionally moving it to a new id
templates.edit
- ListRead-only
List email templates by name or tag, one page of 100 at a time with a continue_token
templates.list
- ViewRead-only
Read one template with its subject, HTML and text bodies, tags and variables
templates.view
Allowed Recipients
- AddWrite
Add allowed recipients: add one or more email addresses and domain names to your Allowed Recipients List. Further details of the associated setting are found in the SMTP2GO Guides.
allowedRecipients.add
- ListRead-only
View allowed recipients: returns the email addresses and domain names on your Allowed Recipients list.
allowedRecipients.list
- RemoveWrite
Remove allowed recipients: remove one or more emails addresses or domain names stored in your Allowed Recipients List. Note: In the event that any of the email addresses or domains do not feature…
allowedRecipients.remove
- UpdateWrite
Update allowed recipients: replace the email addresses and domain names on your Allowed Recipients List using this endpoint. Further details of these modes are found in the SMPT2GO Guides. Note… (replaces the whole list)
allowedRecipients.update
Allowed Senders
- AddWrite
Add allowed senders: add one or more email addresses and domain names to your Allowed or Restricted Senders List. How this list of email addresses and domain names are used is shown by the…
allowedSenders.add
- ListRead-only
View allowed senders: returns the email addresses and domain names on your Allowed or Restricted Senders list, as well as the Restrict Senders setting, which dictates how they are interpreted.
allowedSenders.list
- RemoveWrite
Remove allowed senders: remove one or more emails addresses or domain names stored in your Allowed or Restricted Senders List. Note: In the event that any of the email addresses or domains do…
allowedSenders.remove
- UpdateWrite
Update allowed senders: replace the email addresses and domain names on your Allowed or Restricted Senders List using this endpoint. How the email addresses and domain names are used is… (replaces the whole list)
allowedSenders.update
Sms
- List ReceivedRead-only
View received SMS: view received SMS messages.
sms.listReceived
- List SentRead-only
View sent SMS: view sent SMS messages.
sms.listSent
- SendDestructive
Send SMS: send an SMS message to one or more numbers, up to a maximum of 100 numbers. (sends text messages and spends SMS credit)
sms.send
- SummaryRead-only
SMS Summary: retrieve a summary of SMS messages within a certain time range.
sms.summary
Webhooks
- AddWrite
Register a webhook URL for chosen email (or SMS) events, in form or JSON output, with optional auth headers
webhooks.add
- EditWrite
Change a webhook registration by id; the edit replaces its settings, so pass url every time and auth_header_type/auth_header_value again or the Authorization header is dropped
webhooks.edit
- ListRead-only
Read the account webhook registration with its events, output format and auth header settings
webhooks.list
- RemoveDestructive
Remove a webhook registration by id; deliveries to that URL stop
webhooks.remove
Ip Auth
- ListRead-only
View IP Auth: returns a list of all IP Auth entries that are managed by this account, or details of a specific IP Auth, when you include the [ip_address] in your request. If no…
ipAuth.list
- PatchWrite
Patch an IP Auth: patch an existing IP Auth ignoring missing properties
ipAuth.patch
- RemoveDestructive
Remove an IP Auth entry: remove an IP Auth entry from your account (the IP can no longer send)
ipAuth.remove
Single Senders
- AddDestructive
Add a single sender email: use the API to add a single sender email address to your account, to use from which to send mail. If the email address has previously been added and not yet verified,… (emails a verification link to the address)
singleSenders.add
- ListRead-only
View single sender emails: returns a list of single sender email addresses on your account, along with their verification status. If you include a email_address, the response will only include…
singleSenders.list
- RemoveDestructive
Remove a single sender email: remove a single sender email address from your account. Include the address to remove as the email_address parameter. (the address must be verified again)
singleSenders.remove
Suppressions
- AddWrite
Block future sends to one email address, optionally scoped to a subaccount
suppressions.add
- ListRead-only
List suppressed addresses with their block reasons, filtered by address, block type or date, with a continue_token for the next page
suppressions.list
- RemoveDestructive
Lift the given block types for one email address, reporting per reason whether it was removed
suppressions.remove
Archive
- Get EmailRead-only
View an archived email: fetch an archived email using the email_id
archive.getEmail
- SearchRead-only
Search archived content: retrieve a list of up to 5,000 archived emails matching the supplied parameters.
archive.search
Activity
- SearchRead-only
Search delivery activity events (processed, delivered, bounced, opened, clicked and more) by date, address, subject or username, with equals/contains/not_* operators; 100 items by default, up to 1,000 per call, continue_token for more
activity.search
Dedicated Ips
- ListRead-only
View Dedicated IP Addresses: retrieve a list of Dedicated IP addresses on this account
dedicatedIps.list
Connect SMTP2GO to Claude, ChatGPT or Cursor
- 1
Connect SMTP2GO in Corsair
Add your SMTP2GO API key once in Corsair. Corsair stores the credential encrypted and makes the SMTP2GO API calls for your agent, so it never goes into a prompt or a config file. Connect SMTP2GO
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs SMTP2GO. On a ChatGPT personal plan, connect SMTP2GO here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.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, SMTP2GO's read and write operations run right away and its 17 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/smtp2go, add the SMTP2GO plugin, and connect with an API key. Then call methods like corsair.smtp2go.api.activity.search() from your app. Corsair verifies webhooks, and keeps each tenant isolated.
Yes. SMTP2GO requires an API key from your SMTP2GO 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 SMTP2GO, GitHub, Notion, Stripe, and the rest. Trigger SMTP2GO from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for transactional email and SMS with SMTP2GO - send single, batch and MIME messages, search sent email, activity and archives, manage suppressions, sender domains, single senders, templates, webhooks, API keys, SMTP users, IP auth, allowed lists and subaccounts, read stats, and receive email and SMS webhook events. Common builds include sync jobs, admin tooling, and agents that call SMTP2GO APIs from your backend. Webhook handlers react to SMTP2GO events and fan out to Slack, email, or other plugins in the same tenant.
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 SMTP2GO 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/smtp2go in the open repo. When SMTP2GO 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 SMTP2GO data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store SMTP2GO 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 SMTP2GO 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 17 destructive SMTP2GO operations. You can change a link's mode at hub.corsair.dev/me.