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

# Fetch Relevant Gmail Threads

## Overview

Search a contact's email history for relevant discussions, extract interaction patterns and timelines, and generate actionable insights based on contact and meeting details.

### Use Cases

* **Pre-meeting context**: Surface the thread of emails leading up to a meeting.
* **Relationship health**: Analyze communication cadence and tone with a key contact.
* **CX intelligence**: Find past escalations or product feedback from a customer's email history.

## Configuration Fields

### Contact Email

* **Description**: The email address of the person to pull threads for.
* **Required**: Yes

### Context

* **Description**: Optional additional context (e.g. meeting topic, deal name) to guide relevance scoring.

### Output Variable Name

* **Description**: Variable name to store the matched threads + insights.
* **Validation**: Only letters, numbers, and underscores.
* **Required**: Yes

## Related Actions

* [Get Calendar Events List](./get_calendar_events_list) to pair meetings with email history.
* [Comprehensive Contact Intelligence](./comprehensive_contact_intelligence) for a unified 360° intelligence report.
