Smtp2go Integration for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Smtp2go MCP or direct API to send emails, track delivery status, manage templates, and monitor bounces through natural language.
Smtp2go Logo
Gradient Top
Gradient Middle
Gradient Bottom
divider

Supported Tools

Tools
Search Email ActivityTool to search activity events like sends, opens, clicks, and bounces.
Add Allowed SenderTool to add a new allowed sender email address.
Remove Allowed SenderTool to remove a sender email address from the allowed senders list.
Update Allowed SenderTool to update details of an existing allowed sender.
View Allowed SendersTool to view the list of allowed senders configured in your account.
Add Sender DomainTool to add a new sender domain for spf/dkim verification.
Search SMTP2GO EmailsTool to search sent emails.
Add IP Allow ListTool to add an ip address or cidr range to your account’s ip allow list.
Remove IP from Allow ListTool to remove an ip address from your account's ip allow list.
View IP Allow ListTool to view the list of ip addresses in your ip allow list.
View Received SMSTool to retrieve received sms replies for your smtp2go account.
Get Email Bounces StatsTool to retrieve email bounces statistics.
Email Cycle StatisticsTool to retrieve email cycle statistics.
Email History StatisticsTool to retrieve email history statistics.
Email Spam StatisticsTool to retrieve email spam report statistics.
Email Unsubscription StatsTool to retrieve email unsubscribe statistics.
Search SubaccountsTool to search subaccounts.
Subaccounts UsageTool to retrieve usage statistics for subaccounts.
Add to Suppression ListTool to add email addresses or domains to the suppression list.
Remove suppression entryTool to remove an email address or domain from the suppression list.
View Suppression ListTool to view the suppression list.
Edit Email TemplateTool to edit details of an existing email template.
Search Email TemplatesTool to search your collection of email templates by id or name.
View Email TemplateTool to view details of a specific email template.
Add SMTP UserTool to add a new smtp user.
Edit SMTP UserTool to edit details of an existing smtp user.
Remove SMTP UserTool to remove an smtp user from your account.
View SMTP UsersTool to list all smtp users configured on your account.
Add WebhookTool to create a new webhook.
Edit WebhookTool to edit an existing webhook’s settings.
Remove webhookTool to remove a webhook.
View WebhooksTool to view all webhooks configured in your account.

Connect Smtp2go MCP Tool with your Agent

Python
TypeScript

Install Composio

python
pip install composio claude-agent-sdk
Install the Composio SDK and Claude Agent SDK

Create Tool Router Session

python
from composio import Composio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions

composio = Composio(api_key='your-composio-api-key')
session = composio.create(user_id='your-user-id')
url = session.mcp.url
Initialize the Composio client and create a Tool Router session

Connect to AI Agent

python
import asyncio

options = ClaudeAgentOptions(
    permission_mode='bypassPermissions',
    mcp_servers={
        'tool_router': {
            'type': 'http',
            'url': url,
            'headers': {
                'x-api-key': 'your-composio-api-key'
            }
        }
    },
    system_prompt='You are a helpful assistant with access to Smtp2go tools.',
    max_turns=10
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query('Show me all allowed sender addresses in Smtp2go')
        async for message in client.receive_response():
            if hasattr(message, 'content'):
                for block in message.content:
                    if hasattr(block, 'text'):
                        print(block.text)

asyncio.run(main())
Use the MCP server with your AI agent

Connect Smtp2go API Tool with your Agent

Python
TypeScript

Install Composio

python
pip install composio_openai
Install the Composio SDK

Initialize Composio and Create Tool Router Session

python
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
openai = OpenAI()
session = composio.create(user_id='your-user-id')
Import and initialize Composio client, then create a Tool Router session

Execute Smtp2go Tools via Tool Router with Your Agent

python
tools = session.tools
response = openai.responses.create(
  model='gpt-4.1',
  tools=tools,
  input=[{
    'role': 'user',
    'content': 'Show me all allowed sender emails for my account'
  }]
)
result = composio.provider.handle_tool_calls(
  response=response,
  user_id='your-user-id'
)
print(result)
Get tools from Tool Router session and execute Smtp2go actions with your Agent

Why Use Composio?

AI Native Smtp2go Integration

  • Supports both Smtp2go MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for sending, tracking, and managing your Smtp2go emails

Managed Auth

  • Built-in API key management with secure credential storage
  • Central place to manage, scope, and revoke Smtp2go access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Smtp2go
  • Scoped, least privilege access to Smtp2go resources
  • Full audit trail of agent actions to support review and compliance

Frequently Asked Questions

Do I need my own developer credentials to use Smtp2go with Composio?

Yes, Smtp2go requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

What if the API changes?

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Used by agents from

Context
ASU
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
ASU
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
ASU
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.