---
title: "Get Thread"
description: "Load every message in a Gmail thread."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/gmail/get-thread"
---
# Get Thread

> Load every message in a Gmail thread.

<block-meta block="Yes" capability="Gmail" channels="Any" folder="google/gmail" group="Gmail" groupTo="/build/workflows/blocks/gmail" icon="i-lucide-messages-square" pipe="Value" scope="Any" service="Google" tool="Yes" type="google.gmail.get_thread">



</block-meta>

**Get Thread** loads a conversation from the connected Gmail mailbox. Pass a Gmail **thread id**. Each item in `messages` uses the same shape as [Get Email](https://docs.vettero.com/build/workflows/blocks/gmail/get-email).

## Configure

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Thread ID
      </strong>
    </td>
    
    <td>
      Gmail thread id (required)
    </td>
  </tr>
</tbody>
</table>

## Handles

<table>
<thead>
  <tr>
    <th>
      Handle
    </th>
    
    <th>
      Role
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        In
      </strong>
      
       (target)
    </td>
    
    <td>
      Incoming connection
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Out
      </strong>
      
       (source)
    </td>
    
    <td>
      Continues after the thread is loaded
    </td>
  </tr>
</tbody>
</table>

## Pipe schema

<table>
<thead>
  <tr>
    <th>
      Key
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        id
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      Thread id
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        snippet
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      Thread snippet
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        historyId
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      History id
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        messages[]
      </code>
    </td>
    
    <td>
      list
    </td>
    
    <td>
      Friendly messages (same fields as Get Email)
    </td>
  </tr>
</tbody>
</table>

## Use case

- After [List Threads](https://docs.vettero.com/build/workflows/blocks/gmail/list-threads) or [List Emails](https://docs.vettero.com/build/workflows/blocks/gmail/list-emails), load the full conversation before [Reply to Email](https://docs.vettero.com/build/workflows/blocks/gmail/reply-email).

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
