hermosodocs

update_email_lead

Update an email lead

Area: MAILBOX EXTRAS 2026-11-25 · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

Description

Change one lead (lead = its email or id): name, firstName, lastName, company, note, fields { key: value, or null to remove }, status, basis (why this person may be emailed: customer, opted_in, public_business_address, other; empty clears it) with basisNote, and timeZone (their own, for a sequence that sends in each lead's time zone). Setting status to replied, unsubscribed, bounced or do_not_contact stops every sequence for that address at once, and the last three make every later send to it refused. Use it to record an opt-out. Sends nothing. Free.

Parameters

ParameterTypeDescription
leadrequiredstringthe lead's email address or id
status"active" | "replied" | "unsubscribed" | "bounced" | "do_not_contact"the lead's new state
namestringfull name
firstNamestringfirst name, used by {{first_name}}
lastNamestringlast name, used by {{last_name}}
companystringcompany, used by {{company}}
notestringa private note about this lead
fieldsobjectextra merge fields; a null value removes one
basis"customer" | "opted_in" | "public_business_address" | "other" | ""why this person may be emailed; empty clears it
basisNotestringa short note on that basis, e.g. where the address was published
timeZonestringthe lead's own time zone, e.g. Europe/Berlin

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/update_email_lead.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"update_email_lead","arguments":{"lead":"<string>"}}}

CLI

hermoso call update_email_lead --json '{"lead":"<string>"}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 728 Publishing & scheduling tools · tools.json