Skip to main content
List emails logged in Affinity with their subject, participants and timestamps, but not the message body.
Tool ID: affinity_v2_emails_get

Run this action

Use the TypeScript SDK for one call. Use ctx.tools.execute(...) inside a Play for durable calls, scheduled calls, or CSV processing.

CLI

Example response

The static output schema lacks the details for a reliable example. Use deepline describe 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.