Rewrite one of the business's emails
Rewrites an email's subject, headline or opening words in the business's voice; the times, amounts and links below them stay.
$0.001 a call
From your agent’s balance. A call that fails costs nothing.
An example
Make the booking confirmation sound like us: warm, short, and ask people to bring the shoes they ride in.
Your agent callsaccount_set_email_template$0.001 a call
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.
{
"email": "booking_booked",
"subject": "See you soon, {name}: {meeting} is booked",
"opening": "We are looking forward to it. Bring your bike, and the shoes you ride in."
}Use it when
A customer email should sound like the business: a booking confirmation, an invoice, a newsletter sign-up.
- For the business's name, logo and colour on every email, use
account_set_brand.
What it does
Change an email's subject, headline or opening words in the business's own voice, with {variables} from account_list_email_templates (like {name} or {when}). The facts under them (times, places, amounts, links and buttons) stay as they are. Only what you pass changes; an empty string brings back the original words. Plain text; a blank line starts a new paragraph.
What comes back
The email as it now reads: its key, name, when it is sent, subject, headline, opening, variables and changed. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
emailRequired | string | Like booking_booked or invoice_sent. Up to 40 characters. |
subject | string | Up to 200 characters. |
headline | string | Up to 120 characters. |
opening | string | Up to 4,000 characters. |
The call
Over MCP, call account_set_email_template on https://api.conecto.chat/mcp/account. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/account_set_email_template \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"email":"booking_booked","subject":"See you soon, {name}: {meeting} is booked","opening":"We are looking forward to it. Bring your bike, and the shoes you ride in."}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
not_found404 | No customer email has that key. | Call account_list_email_templates and use one of its email keys. |
invalid_input400 | A part is too long, a subject or headline has a line break, or the text uses a {variable} this email cannot fill. | Keep subject and headline on one line, and use only the variables account_list_email_templates lists for this email. |
More Account tools
All 28 tools- Check balance
account_balanceThe balance, this key's daily budget, auto-reload, and how much of the month's free reads and downloads is used.Free - Refund a top-up
account_refund_topupRefunds a top-up from the last 24 hours that none of has been used: the credit, with its tax, goes back to the card, and the service fee is kept.Free - Get a sign-in link for the owner
account_owner_linkA one-time link that signs the business owner into their Conecto page, without a password.Free - Read the limits
account_get_limitsThe limits Conecto raises on request, each with its standard and current value, and the business's requests with their answers.Free - Ask for a higher limit
account_request_limitAsk Conecto to raise a limit: which one, the number the business needs, and why.Free - Read recent events
account_eventsWhat happened lately, oldest first: applications, bookings, form responses, signatures, replies, emails, website goals and the agents' own events.Free* - Send an event of your own
account_emit_eventSends an event the agent names, custom.<name>, to the channels subscribed to it and to account_events.$0.005 per channel it goes to - Search everything
account_searchOne search across the business's files, table rows, help articles, CRM, emails, tickets, invoices, books, stock and tasks.Free*
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md