All tools

Email · send_email

Send an email

Send one or many emails from the connected business address.

Price
included
Requirements
Gmail or Outlook or Resend
set it up in Settings → Integrations
Human approval
Yes, by default
outside-facing write: a human validates

Input

FieldTypeDescription
emailsarrayBatch send: the FULL list of emails to send in one call (preferred whenever there is more than one). Each item takes the same fields as a single email. When provided, the top-level single-email fields are ignored.
to *arrayRecipient email addresses
subject *stringEmail subject line
body *stringEmail body in plain text or HTML
ccarrayCC email addresses (optional)
fromstringSender email address — must match a configured provider (Gmail/Outlook/Resend). The tool selects the provider whose address matches. If both Gmail and Resend match, Gmail is preferred. Omit to use the first available provider.
inReplyTostringRFC 2822 Message-ID of the email to reply to — enables email threading for outreach follow-ups. Use the messageId returned by a previous send_email call.
replyTostringReply-To address — where recipient replies should land. Omit unless the user asked for a specific one: the workspace default (Settings → Integrations → Resend) already routes replies to the address the agent can read.

Call this tool

Through the HTTP API, or from the MCP server with the run meta-tool.

curl https://api.ezyagents.fr/gateway/v1/run \
  -H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
  -d '{"tool":"send_email","input":{"emails":[],"to":[],"subject":"…","body":"…"}}'
$run({ "tool": "send_email", "input": {"emails":[],"to":[],"subject":"…","body":"…"} })