Skip to main content
Get metadata on all Emails.
Tool ID: affinity_v2_emails_get

Run this action

Use the TypeScript SDK for a single call. Put ctx.tools.execute(...) inside a Play when the call should be durable, scheduled, or run across a CSV.

CLI

Example response

The static output schema is not detailed enough to generate a reliable example. Use deepline tools get affinity_v2_emails_get --json for the complete live contract.

Input reference

Paginate through all emails in Affinity. Returns basic information about the email interaction and its participants. Will only return emails or subject lines that the current authenticated user has permission to see. Email bodies (the message content) are not available through the API. Only metadata such as the subject, participants, and timestamps is returned. If the authenticated user does not have permission to see an email’s subject, the subject field is obfuscated and returned as ******** rather than the actual subject line. You can filter emails using the filter query parameter. The filter parameter is a string that you can specify conditions based on the following properties. | Property Name | Type | Allowed Operators | Examples | |---|---|---|---| | id | int64 | = | id=1\\|id=2\\|id=3 | | sentAt | datetime | >, =, 2025-01-01T01:00:00Z | | See the live schema below for the complete notes.

Output reference

Deepline cost

  • Pricing model: fixed (per call).
  • Estimated Deepline credits: 0 per pricing unit.
  • Provider-native pricing may still exist outside Deepline credit billing.