> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Salesloft: Activities Emails Show

> Get one Salesloft email by its ID, with its recipient, status and cadence step. Includes SDK V2 examples, input constraints, response fields, and Deepline cost.

Get one Salesloft email by its ID, with its recipient, status and cadence step.

> [!NOTE]
>
> Tool ID: `salesloft_activities_emails_show`

## 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.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'salesloft_activities_emails_show',
  {
    "id": "id_123"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute salesloft_activities_emails_show --input '{
  "id": "id_123"
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "id": 123,
    "created_at": "2026-01-15T12:00:00Z",
    "updated_at": "2026-01-15T12:00:00Z"
  }
}
```

Use `deepline describe salesloft_activities_emails_show --json` for the latest machine-readable contract.

## Input reference

Fetches an email, by ID only.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.id` | `string` | Yes | — | Email ID |
| `payload.scoped_fields` | `array` | No | — | Specify explicit scoped fields desired on the Email Resource. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Fetches an email, by ID only.",
    "properties": {
      "id": {
        "type": "string",
        "description": "Email ID"
      },
      "scoped_fields": {
        "type": "array",
        "description": "Specify explicit scoped fields desired on the Email Resource.",
        "items": {
          "type": "string"
        }
      }
    },
    "required": [
      "id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.id` | `integer` | No | — | ID of Email |
| `result.data.created_at` | `string` | No | — | Datetime of when the email was created Format: `date-time`. |
| `result.data.updated_at` | `string` | No | — | Datetime of when the email was last updated Format: `date-time`. |
| `result.data.recipient_email_address` | `string` | No | — | Email address of the recipient |
| `result.data.status` | `string` | No | — | Status of this email through the sending process. Possible values are: sent, sent\_from\_gmail, sent\_from\_external, pending, pending\_reply\_check, scheduled, sending, delivering, failed, cancelled, pending\_through\_gmail, pending\_through\_external |
| `result.data.bounced` | `boolean` | No | — | Whether this email bounced |
| `result.data.send_after` | `string` | No | — | When this email will be sent, or null if already sent Format: `date-time`. |
| `result.data.sent_at` | `string` | No | — | When this email was sent, or null if it was not sent Format: `date-time`. |
| `result.data.view_tracking` | `boolean` | No | — | Whether this email had view tracking enabled |
| `result.data.click_tracking` | `boolean` | No | — | Whether this email had click tracking enabled |
| `result.data.message_id` | `string` | No | — | ID of Client Email Message |
| `result.data.headers` | `record` | No | — | Selected headers that are included if this email used them. Available keys are: cc, bcc |
| `result.data.personalization` | `string` | No | — | Percentage of this email that has been personalized |
| `result.data.subject` | `string` | No | — | Subject of the email. This field has been determined sensitive and requires a specific scope to access it. |
| `result.data.body` | `string` | No | — | Email Body |
| `result.data.error_message` | `string` | No | — | Error message of the email. This field has been determined sensitive and requires a specific scope to access it. |
| `result.data.draft_with_ai` | `boolean` | No | — | Whether this email body was drafted with AI assistance |
| `result.data.email_thread_id` | `integer` | No | — | ID of the email thread this email belongs to |
| `result.data.counts` | `object` | No | — | — |
| `result.data.counts.clicks` | `integer` | No | — | The number of times links in the email were clicked |
| `result.data.counts.views` | `integer` | No | — | The number of times the email was opened |
| `result.data.counts.replies` | `integer` | No | — | The number of replies the email received |
| `result.data.counts.unique_devices` | `integer` | No | — | The number of unique devices that opened the email |
| `result.data.counts.unique_locations` | `integer` | No | — | The number of unique locations that opened the email |
| `result.data.counts.attachments` | `integer` | No | — | The number of attachments on the email |
| `result.data.user` | `object` | No | — | User that sent this email |
| `result.data.user.id` | `integer` | No | — | — |
| `result.data.user._href` | `string` | No | — | — |
| `result.data.recipient` | `object` | No | — | The person whom received this email |
| `result.data.recipient.id` | `integer` | No | — | — |
| `result.data.recipient._href` | `string` | No | — | — |
| `result.data.mailing` | `object` | No | — | The mailing that this email was a part of |
| `result.data.mailing.id` | `integer` | No | — | — |
| `result.data.action` | `object` | No | — | Action that this email was sent from, or null if not sent through a cadence |
| `result.data.action.id` | `integer` | No | — | — |
| `result.data.task` | `object` | No | — | Task that this email was sent from, or null if not sent through a cadence |
| `result.data.task.id` | `integer` | No | — | — |
| `result.data.crm_activity` | `object` | No | — | CRM Activity associated with this email |
| `result.data.crm_activity.id` | `integer` | No | — | — |
| `result.data.crm_activity._href` | `string` | No | — | — |
| `result.data.cadence` | `object` | No | — | Cadence the email was sent on |
| `result.data.cadence.id` | `integer` | No | — | — |
| `result.data.cadence._href` | `string` | No | — | — |
| `result.data.step` | `object` | No | — | Step the email was sent on |
| `result.data.step.id` | `integer` | No | — | — |
| `result.data.step._href` | `string` | No | — | — |
| `result.data.email_template` | `object` | No | — | Template used for this email |
| `result.data.email_template.id` | `integer` | No | — | — |
| `result.data.email_template._href` | `string` | No | — | — |

The table shows the first 50 fields. Expand the raw schema below for every field.

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "id": {
            "type": "integer",
            "description": "ID of Email"
          },
          "created_at": {
            "type": "string",
            "description": "Datetime of when the email was created",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "description": "Datetime of when the email was last updated",
            "format": "date-time"
          },
          "recipient_email_address": {
            "type": "string",
            "description": "Email address of the recipient"
          },
          "status": {
            "type": "string",
            "description": "Status of this email through the sending process. Possible values are: sent, sent_from_gmail, sent_from_external, pending, pending_reply_check, scheduled, sending, delivering, failed, cancelled, pending_through_gmail, pending_through_external"
          },
          "bounced": {
            "type": "boolean",
            "description": "Whether this email bounced"
          },
          "send_after": {
            "type": "string",
            "description": "When this email will be sent, or null if already sent",
            "format": "date-time"
          },
          "sent_at": {
            "type": "string",
            "description": "When this email was sent, or null if it was not sent",
            "format": "date-time"
          },
          "view_tracking": {
            "type": "boolean",
            "description": "Whether this email had view tracking enabled"
          },
          "click_tracking": {
            "type": "boolean",
            "description": "Whether this email had click tracking enabled"
          },
          "message_id": {
            "type": "string",
            "description": "ID of Client Email Message"
          },
          "headers": {
            "type": "object",
            "description": "Selected headers that are included if this email used them. Available keys are: cc, bcc"
          },
          "personalization": {
            "type": "string",
            "description": "Percentage of this email that has been personalized"
          },
          "subject": {
            "type": "string",
            "description": "Subject of the email. This field has been determined sensitive and requires a specific scope to access it."
          },
          "body": {
            "type": "string",
            "description": "Email Body"
          },
          "error_message": {
            "type": "string",
            "description": "Error message of the email. This field has been determined sensitive and requires a specific scope to access it."
          },
          "draft_with_ai": {
            "type": "boolean",
            "description": "Whether this email body was drafted with AI assistance"
          },
          "email_thread_id": {
            "type": "integer",
            "description": "ID of the email thread this email belongs to"
          },
          "counts": {
            "type": "object",
            "properties": {
              "clicks": {
                "type": "integer",
                "description": "The number of times links in the email were clicked"
              },
              "views": {
                "type": "integer",
                "description": "The number of times the email was opened"
              },
              "replies": {
                "type": "integer",
                "description": "The number of replies the email received"
              },
              "unique_devices": {
                "type": "integer",
                "description": "The number of unique devices that opened the email"
              },
              "unique_locations": {
                "type": "integer",
                "description": "The number of unique locations that opened the email"
              },
              "attachments": {
                "type": "integer",
                "description": "The number of attachments on the email"
              }
            },
            "additionalProperties": false
          },
          "user": {
            "type": "object",
            "description": "User that sent this email",
            "properties": {
              "id": {
                "type": "integer"
              },
              "_href": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "recipient": {
            "type": "object",
            "description": "The person whom received this email",
            "properties": {
              "id": {
                "type": "integer"
              },
              "_href": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "mailing": {
            "type": "object",
            "description": "The mailing that this email was a part of",
            "properties": {
              "id": {
                "type": "integer"
              }
            },
            "additionalProperties": false
          },
          "action": {
            "type": "object",
            "description": "Action that this email was sent from, or null if not sent through a cadence",
            "properties": {
              "id": {
                "type": "integer"
              }
            },
            "additionalProperties": false
          },
          "task": {
            "type": "object",
            "description": "Task that this email was sent from, or null if not sent through a cadence",
            "properties": {
              "id": {
                "type": "integer"
              }
            },
            "additionalProperties": false
          },
          "crm_activity": {
            "type": "object",
            "description": "CRM Activity associated with this email",
            "properties": {
              "id": {
                "type": "integer"
              },
              "_href": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "cadence": {
            "type": "object",
            "description": "Cadence the email was sent on",
            "properties": {
              "id": {
                "type": "integer"
              },
              "_href": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "step": {
            "type": "object",
            "description": "Step the email was sent on",
            "properties": {
              "id": {
                "type": "integer"
              },
              "_href": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "email_template": {
            "type": "object",
            "description": "Template used for this email",
            "properties": {
              "id": {
                "type": "integer"
              },
              "_href": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "additional_recipients": {
            "type": "array",
            "description": "The list of people, other than the (primary) recipient, who received this email via TO and CC",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "_href": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

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

## Related documentation

* [Salesloft provider guide](https://deepline.com/docs/providers/salesloft/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.