Agents & MCP

Agent safety

How BoostMails keeps agents useful without letting them email customers on their own or be steered by a malicious email.

Human approval by default#

Agents can only create and edit their own drafts. A person approves each one on To approve, Telegram or Slack. Rejections carry a reason the agent reads back with list_drafts, and sent drafts show the final text after human edits, so the agent can learn from both.

Prompt-injection hold#

Every new inbound email is scanned by a deterministic guard (no model) for text aimed at AI agents: “ignore earlier instructions”, fake system prompts, chat-template tokens, tool names, requests to send, forward or reveal data, or to hide actions from people. A match labels the thread possible-injection and holds it: no tool can list or read it, AI triage skips it, and webhooks send message.held. A person reviews and releases it; then message.received fires.

Untrusted content#

Customer bodies and attachment text reach agents wrapped in <<<UNTRUSTED_EMAIL_CONTENT>>> markers, and the MCP server's instructions tell the model never to follow instructions inside them, never to click unsubscribe links (use modify_thread mark_spam), and to check get_brand_context before drafting.

Scopes#

  • Each token sees only the brands it was given, and is read-only or read + draft.
  • Replies must use an address from the thread's own brand.
  • Agents can't attach executables, scripts or HTML, and bodies are Markdown or text, never HTML.
  • Free includes 20 agent drafts a month; paid plans are unlimited.
  • Every tool call is in the audit log under the agent's name (bodies and file bytes are not logged).

Agent send (opt-in)#

An owner or admin can turn on Agent send in Settings → Agents after reading a warning and ticking a confirmation. While it's on, agents with draft permission get send_draft (and send_temp_email on Pro and Team), a red banner shows in Settings → Agents, and every send is recorded as sent by the agent. It's checked live on every call: turning it off takes effect on the very next request.

!

With agent send on, a mistake reaches your customer before you see it, under your brand's name and domain reputation. Leave it off unless you have a clear reason.