Skip to main content
An Email is a single email record: an outbound send, an inbound reply, or a bounce, linked to a contact. Emails carry their own custom fields, separate from contact and company custom fields, and can be marked “interested” to flag a positive reply.

Configuration

Attributes

Sends and replies

email_type distinguishes the three kinds of email record: OUTBOUND for a send, INBOUND for a reply, BOUNCED for a bounce. POST /public/emails creates any of the three; GET /public/emails searches across all of them, filterable by campaign_id, contact_email, origin, and subject.

Interested

POST /public/emails/set-interested sets interested to true on the email matching the given email, subject, and optional disposition. This is the same flag surfaced as interested on the Email object and used to filter campaign reporting.

Custom fields on emails

Email custom fields are separate from contact and company custom fields: they’re defined per field name directly on the email record, not through the custom fields schema endpoint. POST /public/emails/{email_id}/custom-fields DELETE /public/emails/{email_id}/custom-fields/{field_id} removes one.

Relationships

  • Contact: every email links to one contact, by contact_id or by matching contact_email. On the contact and company entities, emails are reachable through the emails relation.
  • Campaign: emails carry campaign_id and campaign_name for attribution to a sending campaign; see campaign reporting in the MCP get_campaigns and get_campaign_drilldown tools.
Public API
  • GET/POST /public/emails
  • GET/DELETE /public/emails/{email_id}
  • POST /public/emails/set-interested
  • POST /public/emails/{email_id}/custom-fields
  • DELETE /public/emails/{email_id}/custom-fields/{field_id}
MCP tools
  • search_emails, mark_email_interested, get_email_thread
  • get_filter_schema, query_entity (entity email)
  • get_campaigns, get_campaign_drilldown, get_campaign_stats