Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

827 B
Raw Blame
---
title: GetThread
description: >-
  Retrieve an email thread and its messages.
---

# GetThread

Retrieve an email thread and its messages. Returns the thread metadata, the inbox the thread belongs to, the labels applied to the thread (e.g. INBOX, UNREAD, STARRED, and any custom labels), and message contents including sender, recipients, subject, body text, and the labels on each individual message. Use this to read the contents of a specific email conversation, to see which labels a thread or message has, or to find out which of the user's inboxes received it before replying.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `threadId` | string | Yes | The ID of the email thread to retrieve. |
| `limit` | integer | No | Maximum number of messages to return (default 10). |