Resend icon

Resend

Send emails, manage contacts, create broadcasts, handle templates, domains, segments, topics, and webhooks using the Resend email platform

Inbox Thread → Update

AI-generated

Summary

Update the specified inbox thread by marking all its emails as read and/or moving the thread to a different folder such as Inbox, Archive, Spam, or Trash.

Inputs

  • Authentication (required) — Choose an authentication method: API Key or OAuth2 to authorize the request.
  • Inbox (required) — Select or specify the inbox by ID or email address that contains the thread to update.
  • Thread ID (required) — The unique identifier of the inbox thread to update.
  • Update Fields (required) — Specify the properties to update on the thread. You can set whether to mark all emails in the thread as read and/or move the thread to a folder (Inbox, Archive, Spam, Trash).

Output shape

a single record representing the updated inbox thread.

The updates occur in order: marking emails as read first, then moving the thread to the specified folder. The operations are not atomic; partial updates may be possible. To modify thread labels, use dedicated label operations instead.

Examples

Example 1: Mark a thread as read and move it to the Archive folder

Set 'Read' to true and 'Folder' to 'Archive' with the Inbox and Thread ID specified.

Example 2: Only mark a thread as read without moving it

Set 'Read' to true and leave 'Folder' unchanged with the Inbox and Thread ID specified.

Links

Discussion