Connect SMTP2GO
SMTP2GO is an email and SMS delivery service. StackJack connects an AI assistant to the SMTP2GO API, so it can send messages and run your SMTP2GO account, the subaccounts of a master account included.
Written By Christopher Scaminaci
Last updated About 1 hour ago
SMTP2GO is an email and SMS delivery service. StackJack connects an AI assistant to the SMTP2GO API, so it can send messages and run your SMTP2GO account, the subaccounts of a master account included.
Connecting SMTP2GO to StackJack gives your AI assistant a family of smtp2go_ MCP tools. MCP (Model Context Protocol) tools are the standardized commands an AI
assistant can call through StackJack. With them, your AI can:
- Read your account - subaccounts, sender domains and single senders, SMTP users, API keys and their permissions, IP authentication, allowed senders and recipients, suppressions, templates, webhooks and dedicated IP addresses
- Read what was sent - search sent emails, scheduled emails, the activity log and the email archive, and read the sent and received SMS
- Read statistics - the billing cycle, bounces, spam complaints, unsubscribes, the email summary and history, and the SMS summary
- Send (on Pro plans) - a standard email, a MIME email, a batch of emails, and SMS; cancel a scheduled email
- Manage the account (on Pro plans) - add, change, close and reopen subaccounts; add, verify and remove sender domains and single senders; add, change and remove SMTP users, API keys, IP authentications, allowed senders and recipients, suppressions, templates and webhooks
How StackJack authenticates to SMTP2GO
SMTP2GO uses API keys. StackJack sends the key in the X-Smtp2go-Api-Key header on every call, never in a request body. There is no sign-in exchange: the key
is used as it is.
Getting the key
- Sign in to the SMTP2GO app and open Sending, then API Keys.
- Click Add API Key.
- On the key's Permissions, allow the endpoints the tools you plan to use will call. A call the key is not allowed to make is refused.
- Copy the key. It starts with
api-.
One connection is one SMTP2GO account
A connection acts as the account the key belongs to. A master account's key can act for its subaccounts: most tools take an optional subaccount ID. If you have several separate accounts, add one named connection for each.
Connect it in StackJack
- Open Connectors, then SMTP2GO.
- Paste the API key.
- Click Save. StackJack stores the connection and then checks it: it reads the list of endpoints the key may call, which changes nothing.
To check a saved connection again later, use Test on its row. The test uses the key that is saved, so save a new key before you test it.
Enter the key again whenever you save this form. To rename a connection, use Rename in the connections list: a rename needs no key.
What is worth knowing before you start
Sending answers success even when some recipients fail
SMTP2GO accepts a send and reports each recipient's result in its answer. Read the numbers of succeeded and failed recipients, and the failures, in the answer.
Emails and templates take one JSON object
Nine tools take the request as one JSON object with the fields SMTP2GO documents: sending an email or a batch, adding a sender domain or setting its subaccount access, adding or changing a template or a webhook, and the email history statistics. Every other tool, a MIME email included, takes named values.
Passwords and keys are left out of answers
The answers that list SMTP users, IP authentications, API keys and webhooks carry a password, a key or a webhook's authorization value. StackJack leaves that field out unless the tool is asked to include it. Creating an API key answers the new key itself, so the whole answer is treated as a secret.
Every change that sends or affects sending is marked destructive
All the changes are Pro. StackJack marks a change as destructive when it sends something or changes who or what can send:
- Sending an email or an SMS delivers it to people. An SMS costs money.
- Adding, changing or removing an SMTP user, an API key or an IP authentication changes which credentials can send mail.
- Adding, changing, closing or reopening a subaccount changes what is billed.
- Adding a single sender emails that address a verification link. Removing a sender domain or a single sender stops mail from it being verified. Replacing a domain's tracking or return path subdomain, or its subaccount access, replaces what was set.
- Replacing a list of allowed senders or recipients replaces the whole list. Adding a suppression blocks mail to that address; removing one lets mail through again.
- Changing or deleting a template changes what mail sent with it says. Adding or changing a webhook sends your email events to the address you give.
Adding a sender domain, verifying a domain, adding allowed senders or recipients and adding a template are changes that are not marked destructive: they only add or check something, and they send nothing.
Whether your AI application asks for confirmation depends on its settings: some clients prompt before every tool call, some prompt only for tools the server marked destructive, some remember an earlier "always allow", and some never prompt. Review those settings, and leave out the tools a connection does not need. How tools work has the details.
StackJack never sends a change twice. When SMTP2GO does not confirm a change, the tool says so: search the sent emails or read the record before you try again, so that a message is not delivered twice.
Rate limits
SMTP2GO limits some calls (for example 60 activity searches a minute) and times out an address that sends too many requests or too many failing ones for at least a minute. StackJack paces one connection at about one call a second and waits when SMTP2GO answers that there are too many requests.
When SMTP2GO refuses a call
- The key was refused (401): the key is missing, not valid or disabled. Check it in Sending, then API Keys, and save it on the connection.
- Something else answered: a proxy or a firewall replied instead of SMTP2GO. The key was not judged. Try again later.
- Not allowed (403, or 400 with a permission error): the key's Permissions do not allow this call. Give the key the permission, or use a key that has it.
- The request failed (402): the values were valid but the request failed, for example a feature your plan does not include. SMTP2GO's answer says why.
- A refused request (400): a value is missing or not accepted. SMTP2GO's answer names the problem.
- Too many requests (429): wait before you try again.
- An outage (5xx): wait and try again.
Tool reference
See the generated SMTP2GO tool reference for the current inventory, plan assignment, input schemas and destructive-action labels.
SMTP2GO tools
smtp2go_ · 69 tools · Free 28 · Pro 41
Emails
SMS
Subaccounts
Sender domains
Single senders
SMTP users
API keys
IP authentication
Allowed senders
Allowed recipients
Suppressions
Templates
Webhooks
Statistics
Activity
Email archive
Dedicated IPs
Was this helpful?
More in Connector guides
Connect 3CXConnect AbleSignConnect Acronis Cyber Protect CloudConnect Action1Still need help? Ask the team