SalesTouch Docs
All MCP tools
Read onlyEmail

Email attachment

email_attachment

Read one file attached to an email: name, type, size and a download link valid for 15 minutes. Text and CSV files include their text; include_content returns the bytes as base64 for files up to 3 MB.

When to use it

Open a file a lead sent by email, or check a file before forwarding it with email_send.

Required scopes
email:accesssalestouch:use
Execution
Synchronous MCP tool call

Requirements

Provide attachment_id from the attachments of email_messages or email_threads.

Example

Ask your agent

What is in the PDF this lead attached to their last email?

Tool arguments
{
  "attachment_id": "3f1c2b4a-5d6e-4f70-8a9b-0c1d2e3f4a5b",
  "include_content": true
}
MCP response envelope
{
  "content": [
    {
      "type": "text",
      "text": "{\n  \"data\": { ... },\n  \"meta\": null\n}"
    }
  ],
  "isError": false
}

Expected: The file name, type, size, availability and a download link valid for 15 minutes; the text of TXT and CSV files; and content_base64 when include_content is true.

Parameters

attachment_idrequired
string

Attachment id returned in the attachments of email_messages or email_threads.

include_content
boolean

Return the file bytes as content_base64. Files up to 3 MB only.

Aliases are shown independently because MCP clients send a flat JSON object. Use one alias from each required group, not every alias.

Common errors

insufficient_scope

Reconnect the MCP and approve the requested LinkedIn permission.

paid_plan_required

Use a SalesTouch workspace with LinkedIn MCP access.

trial_payment_method_required

Add a payment method in SalesTouch billing to activate the trial and LinkedIn MCP access.

ACCESS_DENIED

Use an attachment id from a mailbox you can read.

ATTACHMENT_TOO_LARGE_FOR_INLINE

Omit include_content and download the file from download_url.