Skip to main content
Connector guides

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

  1. Sign in to the SMTP2GO app and open Sending, then API Keys.
  2. Click Add API Key.
  3. 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.
  4. 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

  1. Open Connectors, then SMTP2GO.
  2. Paste the API key.
  3. 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

ToolWhat it does
smtp2go_cancel_scheduled_email
Pro · Destructive
DESTRUCTIVE.
smtp2go_search_scheduled_emails
Free · Read-only
Allows searching of scheduled emails.
smtp2go_search_sent_emails
Free · Read-only
Retrieve a list of up to 5,000 sent emails matching the supplied parameters.
smtp2go_send_email
Pro · Destructive
DESTRUCTIVE.
smtp2go_send_email_batch
Pro · Destructive
DESTRUCTIVE.
smtp2go_send_mime_email
Pro · Destructive
DESTRUCTIVE.

SMS

ToolWhat it does
smtp2go_get_sms_summary
Free · Read-only
Retrieve a summary of SMS messages within a certain time range.
smtp2go_list_received_sms
Free · Read-only
View received SMS messages.
smtp2go_list_sent_sms
Free · Read-only
View sent SMS messages.
smtp2go_send_sms
Pro · Destructive
DESTRUCTIVE.

Subaccounts

ToolWhat it does
smtp2go_close_subaccount
Pro · Destructive
DESTRUCTIVE.
smtp2go_create_subaccount
Pro · Destructive
DESTRUCTIVE.
smtp2go_reopen_subaccount
Pro · Destructive
DESTRUCTIVE.
smtp2go_search_subaccounts
Free · Read-only
Returns any subaccounts that match search criteria.
smtp2go_update_subaccount
Pro · Destructive
DESTRUCTIVE.

Sender domains

ToolWhat it does
smtp2go_add_sender_domain
Pro · Write
Add a sender domain to your account.
smtp2go_list_sender_domains
Free · Read-only
Returns a list of sender domains on your account.
smtp2go_remove_sender_domain
Pro · Destructive
DESTRUCTIVE.
smtp2go_set_sender_domain_subaccount_access
Pro · Destructive
DESTRUCTIVE.
smtp2go_update_return_path_subdomain
Pro · Destructive
DESTRUCTIVE.
smtp2go_update_tracking_subdomain
Pro · Destructive
DESTRUCTIVE.
smtp2go_verify_sender_domain
Pro · Write
Verify a sender domain on your account removing the need to wait for the periodic verification every 7 minutes.

Single senders

ToolWhat it does
smtp2go_add_single_sender
Pro · Destructive
DESTRUCTIVE.
smtp2go_list_single_senders
Free · Read-only
Returns a list of single sender email addresses on your account, along with their verification status.
smtp2go_remove_single_sender
Pro · Destructive
DESTRUCTIVE.

SMTP users

ToolWhat it does
smtp2go_add_smtp_user
Pro · Destructive
DESTRUCTIVE.
smtp2go_list_smtp_users
Free · Read-only
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.
smtp2go_patch_smtp_user
Pro · Destructive
DESTRUCTIVE.
smtp2go_remove_smtp_user
Pro · Destructive
DESTRUCTIVE.
smtp2go_update_smtp_user
Pro · Destructive
DESTRUCTIVE.

API keys

ToolWhat it does
smtp2go_create_api_key
Pro · Destructive
DESTRUCTIVE.
smtp2go_list_api_key_permissions
Free · Read-only
Retrieve a list of endpoints this API Key can use.
smtp2go_list_api_keys
Free · Read-only
Retrieve a list of API keys on this account.
smtp2go_patch_api_key
Pro · Destructive
DESTRUCTIVE.
smtp2go_remove_api_key
Pro · Destructive
DESTRUCTIVE.
smtp2go_update_api_key
Pro · Destructive
DESTRUCTIVE.

IP authentication

ToolWhat it does
smtp2go_list_ip_auths
Free · Read-only
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.
smtp2go_patch_ip_auth
Pro · Destructive
DESTRUCTIVE.
smtp2go_remove_ip_auth
Pro · Destructive
DESTRUCTIVE.

Allowed senders

ToolWhat it does
smtp2go_add_allowed_senders
Pro · Write
Add one or more email addresses and domain names to your Allowed or Restricted Senders List.
smtp2go_list_allowed_senders
Free · Read-only
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.
smtp2go_remove_allowed_senders
Pro · Destructive
DESTRUCTIVE.
smtp2go_replace_allowed_senders
Pro · Destructive
DESTRUCTIVE.

Allowed recipients

ToolWhat it does
smtp2go_add_allowed_recipients
Pro · Write
Add one or more email addresses and domain names to your Allowed Recipients List.
smtp2go_list_allowed_recipients
Free · Read-only
Returns the email addresses and domain names on your Allowed Recipients list.
smtp2go_remove_allowed_recipients
Pro · Destructive
DESTRUCTIVE.
smtp2go_replace_allowed_recipients
Pro · Destructive
DESTRUCTIVE.

Suppressions

ToolWhat it does
smtp2go_add_suppression
Pro · Destructive
DESTRUCTIVE.
smtp2go_list_suppressions
Free · Read-only
Returns your suppressed email addresses and domains.
smtp2go_remove_suppression
Pro · Destructive
DESTRUCTIVE.

Templates

ToolWhat it does
smtp2go_create_template
Pro · Write
Adds a new email template that you can use to format your emails.
smtp2go_delete_template
Pro · Destructive
DESTRUCTIVE.
smtp2go_get_template
Free · Read-only
Returns details of the email template with the specified ID.
smtp2go_search_templates
Free · Read-only
Search your collection of email templates.
smtp2go_update_template
Pro · Destructive
DESTRUCTIVE.

Webhooks

ToolWhat it does
smtp2go_add_webhook
Pro · Destructive
DESTRUCTIVE.
smtp2go_list_webhooks
Free · Read-only
Returns information for configured webhooks.
smtp2go_remove_webhook
Pro · Destructive
DESTRUCTIVE.
smtp2go_update_webhook
Pro · Destructive
DESTRUCTIVE.

Statistics

ToolWhat it does
smtp2go_get_billing_cycle_stats
Free · Read-only
Retrieve a summary of your Account activity, including the start and end date of your monthly plan, the number of emails sent this cycle, the number of emails remaining and the number of emails in your monthly allowance.
smtp2go_get_bounce_stats
Free · Read-only
Retrieve a summary of bounces and rejects, for the last 30 days.
smtp2go_get_email_history
Free · Read-only
Retrieve a summary of activity from a specified date range (defaults to last 30 days), per sender email address, SMTP username, domain or subaccount.
smtp2go_get_email_summary
Free · Read-only
Retrieve a combination of the email_bounces, email_cycle, email_spam, and email_unsubs calls in one report.
smtp2go_get_spam_stats
Free · Read-only
Retrieve a summary of spam complaints and rejects, for the last 30 days.
smtp2go_get_unsubscribe_stats
Free · Read-only
Retrieve a summary of unsubscribes and rejects, for the last 30 days.

Activity

ToolWhat it does
smtp2go_search_activity
Free · Read-only
Returns events (such as opens, unsubscribes) which match the filters passed.

Email archive

ToolWhat it does
smtp2go_get_archived_email
Free · Read-only
Fetch an archived email using the email_id.
smtp2go_search_archived_emails
Free · Read-only
Retrieve a list of up to 5,000 archived emails matching the supplied parameters.

Dedicated IPs

ToolWhat it does
smtp2go_list_dedicated_ips
Free · Read-only
Retrieve a list of Dedicated IP addresses on this account.