fetch_relevant_gmail_threads
Search a contact's email history to find relevant discussions, extract interaction patterns, and generate actionable insights for upcoming meetings.
Instructions
Search a contact's email history for relevant discussions, extract interaction patterns, timelines, and generate actionable insights based on contact and meeting details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_provider | Yes | Email service to search. Supports Gmail and Outlook Mail. | gmail |
| contact_email | No | The email address to search for (e.g., john@example.com). Will search in from, to, and cc fields. | |
| meeting_topic | No | Topic or keywords to search for in emails (e.g., 'Q4 pricing proposal'). AI will extract relevant keywords. | |
| date_range_days | Yes | How far back to search for emails. | 90 |
| max_results | Yes | Maximum number of email threads to retrieve (e.g., 10, 50, 100). | 10 |
| analysis_type | Yes | Optional AI analysis to run on the fetched emails. | none |
| output_variable_name | Yes | Provide a variable name to store the Gmail threads, like 'topic_relevant_gmail_threads' or 'contact_emails'. | topic_relevant_gmail_threads |