← Documentation

Use Smarties from Claude or ChatGPT

Smarties can be connected to an AI assistant (Claude or ChatGPT) through MCP, an open standard that lets the assistant use Smarties on your behalf. Once connected, you can ask things like "what urgent mail did I get this week?" or "file this email under the Ferro client" in plain language, and the assistant does it with your own Smarties account.

  • Server address: https://apigmail.apigoat.com/api/v1/mcp
  • Sign-in: your usual Smarties username and password. No key or token to copy.

What the assistant can see and do

The assistant has exactly your rights, no more:

  • Your mailboxes only. It sees the mail of the mailboxes you added yourself, never a colleague's mailbox, and never another company.
  • No attachments, no passwords. Attachments are never sent to the assistant, nor are mailbox passwords or keys.
  • Email text is available only when your company keeps message bodies (otherwise the assistant sees the sender, subject, a short excerpt and the AI classification).
  • No company settings. The assistant cannot read or change your company's settings, other users, or mailbox configuration.
  • Changes need your OK. The two actions that change something (re-classifying an email, re-running the AI) first show you what they are about to do; they only happen after you confirm.
  • You can disconnect at any time (see Disconnect below).

The actions

Your mail

Action What it does Example request
gmx_inbox Lists your recent emails, newest first, with the folder the AI chose. Filters: mailbox, client, job, folder, date. "Show my last 20 emails in Action."
gmx_find Searches your mail in plain language (by meaning, not only by keyword). "Find the email where the client asked for a quote on chairs."
gmx_email Opens one email: headers, AI classification, to-dos it found, and the text. "Open that email and summarise it."
gmx_correct_triage Corrects an email's folder, category or priority. The AI learns from your corrections. Asks for confirmation. "That newsletter is not urgent, move it to Reference."
gmx_retriage Asks the AI to classify some emails again. Uses your AI allowance. Asks for confirmation. "Re-run the AI on today's unread mail."

Status

Action What it does Example request
gmx_mailbox_status Your mailboxes: connected or in error, last check, number of messages. "Is my Outlook mailbox still syncing?"
gmx_triage_queue How many emails are still waiting for the AI. "How much mail is waiting to be sorted?"
gmx_triage_stats How accurate the AI's sorting has been (based on your corrections). "How often did I have to correct the AI this month?"
gmx_inference_status Whether the AI service is running normally right now. "Is the AI working?"

Connector tasks

Recurring work Smarties prepares for your clients (for example missing receipts). You see the runs of the tasks that belong to you: you are one of the task's approvers, you are assigned a step in one of its runs, or you opened one of its runs. The Smarties app shows you the same tasks.

Action What it does Example request
gmx_task_queue The runs waiting on someone: to approve, to confirm, proof needed, in progress. "Which tasks are waiting for approval?"
gmx_task_run One run in detail: what was found, the items, the checks, and what you may do. "Show me the missing-receipts run for Safran."
gmx_task_list The tasks set up for your clients and when each is next due. "When is the next receipts check for Lauv?"

Approvers and managers can also act on a run, always after confirming: accept or refuse a value the AI suggested (gmx_task_confirm_value), include or exclude items (gmx_task_toggle_items), reject (gmx_task_reject), retry a blocked run (gmx_task_retry) and start a task now (gmx_task_start). Approving or cancelling a run is done in the Smarties app only, never through an assistant.

Managers and administrators

Users with the Manager or Admin role also get the record actions (crm_describe, crm_list, crm_get, crm_create, crm_update, crm_delete) for company records such as clients and jobs, and can link an email to a client or a job with gmx_correct_triage. Creating and deleting records always asks for confirmation.

Connect Claude

Works with Claude Pro, Max, Team and Enterprise plans (on Team/Enterprise, an owner may first have to allow custom connectors).

claude.ai or the Claude desktop app

  1. Open Settings › Connectors.
  2. Click Add custom connector.
  3. Name: Smarties. URL: https://apigmail.apigoat.com/api/v1/mcp. Leave the advanced settings (client ID / secret) empty.
  4. Click Add, then Connect.
  5. An Smarties page opens: sign in with your Smarties username and password and approve the access.
  6. Back in a conversation, make sure Smarties is turned on in the tools menu (the + / tools button) and ask your question.

A connector added on claude.ai also appears in the desktop app (same account).

Claude Code (terminal)

claude mcp add --transport http smarties https://apigmail.apigoat.com/api/v1/mcp

Then type /mcp, choose smarties › Authenticate, and sign in in the browser window that opens.

Connect ChatGPT

Custom connectors need a paid ChatGPT plan with developer mode (the menu names below can move between ChatGPT versions).

  1. Open Settings › Apps & Connectors › Advanced settings and turn on Developer mode.
  2. Back in Apps & Connectors, click Create.
  3. Name: Smarties. MCP server URL: https://apigmail.apigoat.com/api/v1/mcp. Authentication: OAuth.
  4. Accept the warning about custom connectors and click Create.
  5. Sign in with your Smarties username and password and approve the access.
  6. In a chat, pick Developer mode from the + menu, enable Smarties, and ask your question.

ChatGPT's Deep research mode is not supported (it needs search tools Smarties does not offer); normal chats work.

Access levels

When you approve the access you grant:

  • Read (crm:read): look at your mail and records.
  • Write (crm:write): correct the AI's sorting and re-run it (managers: also change records). Always with your confirmation.
  • Stay signed in (offline_access): the assistant keeps the connection without asking you to sign in every time.

Disconnect

  • Claude: Settings › Connectors › Smarties › Disconnect (or remove).
  • ChatGPT: Settings › Apps & Connectors › Smarties › Disconnect (or delete).
  • Claude Code: claude mcp remove smarties.

Troubleshooting

Problem What to do
"Couldn't connect" / "authorization failed" Check the address is exactly https://apigmail.apigoat.com/api/v1/mcp (with https), then try again.
The sign-in page refuses your password Use the same username and password as the Smarties app.
The assistant answers without using Smarties Turn Smarties on in the conversation's tools menu, or say "use Smarties".
"Not permitted" Your Smarties role does not allow that action; ask your company administrator.
An email shows no text Your company does not keep message bodies, or the text has not been fetched yet.

Updated October 21, 2026