Skip to main content

Lead email copy recipients

An application that owns its account manager, partner or other per-lead contact can declare up to five addresses to copy on that lead’s follow-up emails. The declaration says who may be copied; the playbook says which emails are copied. For example: “Copy the lead’s copy recipients on every email that includes the price list.” Erdo stores the delivery addresses and applies them only to the emails the playbook marks. An email the playbook does not mark records not_requested and goes without CC. The application remains responsible for its roster and assignment rules. Addresses are required, validated as email addresses, lowercased and deduplicated. Names are optional. Every write replaces the full list and includes the application’s caller-chosen revision. Erdo applies a write only when that number is greater than the revision already stored for the lead, so an older concurrent update cannot overwrite a newer assignment. An empty list explicitly means nobody is copied. A lead without a declaration returns declared: false and an empty list. The dataset is addressed by slug. The lead can be its canonical lead UUID or 22-character lead reference. Merged references resolve to the surviving lead’s declaration; declarations stored under absorbed identities are not combined. A read can use a signed-in session or an unscoped organization API key; a scoped API key cannot read it. Replacing a declaration is consequential and requires an unscoped organization API key; sessions and scoped keys cannot write it. A merged-away lead reference is read-only: writes must name the surviving lead reference returned by the read.

Read a declaration

Before the first declaration, the response is {"recipients": [], "revision": 0, "declared": false, "updated_at": null}.

Replace a declaration

The response returns the stored recipients and revision, applied, and updated_at. applied: false means the submitted revision was equal to or older than the stored revision; the response still contains the current declaration. Invalid addresses or more than five recipients are rejected. An empty list clears the active recipients while retaining an explicit declaration:
recipients is required on a PUT. Omitting it or sending null is rejected; send [] when the intended result is an explicit empty declaration. The lead’s next-action history and timeline record the result under email_copy_delivery for a follow-up email, or accompanying_email.copy_delivery for an email sent beside a gated action. Its status is copied, not_requested, none_declared, empty, lookup_failed or capped. Undeliverable addresses and addresses that have already received 50 copied follow-ups from the organization in the preceding 24 hours are omitted and appear in dropped with reason undeliverable or daily_cap. The selected recipient snapshot is frozen when the send is claimed, so a retry uses the same CC list even if the application changes the current declaration afterward. If a status lookup fails, the email proceeds without CC and the failure is visible in the decision. Copied recipients receive the same email as the lead, including its tracked links. A link a copied recipient opens is recorded as the lead’s open: one email cannot tell its recipients’ clicks apart. The CLI provides matching commands. For set, the file contains the complete JSON array of recipient objects, or [] to clear the declaration:
The MCP tools are erdo_get_lead_copy_recipients and erdo_set_lead_copy_recipients. The set tool has the same unscoped organization API-key requirement as the REST PUT.