Send a test of an issue
Emails an issue to up to 5 addresses as subscribers will see it, marked [Test].
Free
This tool costs nothing to call.
An example
Send me and Luis a test of the October newsletter first.
Your agent callsnewsletters_send_testFree
The example business is Halverson Cycle & Repair, a bike shop with a repair workshop in Portland, Oregon. The reply is the one the tool really gives.
{
"issue_id": "0c6e2a9f-4d1b-4e8a-9b3c-7f5d2e1a8c40",
"to": [
"dana@halversoncycle.example",
"luis@halversoncycle.example"
]
}Use it when
Before sending, so the owner or a colleague can check it.
What it does
Email an issue as subscribers will see it to up to 5 addresses (the owner, a colleague), with "[Test]" before the subject, through the business's own email service. Links are not counted and nothing is numbered.
What comes back
sent_to: the addresses the test went to. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
issue_idRequired | string | The issue_id newsletters_write_issue returned. Exactly 36 characters. |
toRequired | array of strings | 1 to 5 items. |
The call
Over MCP, call newsletters_send_test on https://api.conecto.chat/mcp/newsletters. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/newsletters_send_test \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"issue_id":"0c6e2a9f-4d1b-4e8a-9b3c-7f5d2e1a8c40","to":["dana@halversoncycle.example","luis@halversoncycle.example"]}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
not_found404 | No issue of the business has that issue_id. | Find it with newsletters_list_issues and use its issue_id. |
no_sending_service409 | The business has not connected its own email service. | Connect it with newsletters_connect_service (its SMTP server, login and from address). |
invalid_input400 | An address is not an email address. | Fix the address the message names. |
sending_unavailable403 | The business cannot send newsletters right now. | Do what the message says (often: top up once), then send again. |
suppressed422 | An address bounced, complained or unsubscribed before. | Remove the addresses the message lists and send again. |
login_failed400 | The business's email service refused the login. | Check the SMTP login and password (often an SMTP key, not the account password) and connect it again. |
service_unreachable502 | The business's email service could not be reached. | Check the SMTP server and port (587 or 465), then try again. |
service_refused502 | The business's email service turned the email down, often a from address it does not allow. | Allow the from address in the service, or connect it with one it allows. |
service_busy503 | The business's email service asked to slow down. | Try again in a few minutes. |
refused422 | The business's email service will not take mail for an address. | Use another address for that person. |
More Newsletters tools
All 15 tools- Connect the business's email service
newsletters_connect_serviceConnects the business's own email service (Brevo, Amazon SES, Mailgun or any SMTP server), which every newsletter email goes out through.Free - Disconnect the email service
newsletters_remove_serviceDisconnects the business's email service and forgets its password; newsletters wait until one is connected again.Free - Create a newsletter
newsletters_createCreates a newsletter people join on its own page by confirming their address, sent through the business's own email service.Free - Change a newsletter
newsletters_updateRenames a newsletter or changes its description, postal address or archive.Free - List newsletters
newsletters_listThe business's newsletters with their pages and subscriber counts, and the email service they go out through.Free* - Invite people to a newsletter
newsletters_inviteEmails each person a request to confirm a subscription; only those who confirm ever get an issue.Free - List subscribers
newsletters_subscribersWho is on a newsletter, newest first: confirmed, waiting to confirm, unsubscribed, bounced or complained.Free* - Remove a subscriber
newsletters_remove_subscriberDeletes someone from a newsletter for good, with their history.Free
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md