From 9b571182da5bddb725e0af88d09fb8bbfb0cb8dc Mon Sep 17 00:00:00 2001 From: platoresend Date: Thu, 25 Jun 2026 22:11:14 +0000 Subject: [PATCH 1/2] feat: document received_for on inbound email responses --- resend.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/resend.yaml b/resend.yaml index c1a9d67..f516672 100644 --- a/resend.yaml +++ b/resend.yaml @@ -3665,6 +3665,12 @@ components: type: string description: The reply-to addresses. example: [] + received_for: + type: array + items: + type: string + description: The recipient addresses the email was forwarded for, taken from the `for` clause of the message's `Received` headers. Empty when the email was delivered directly without forwarding. + example: ['forwarded@example.com'] html: type: [string, "null"] description: The HTML content of the email. @@ -5633,6 +5639,11 @@ components: items: type: string description: CC recipients. + received_for: + type: array + items: + type: string + description: The recipient addresses the email was forwarded for, taken from the `for` clause of the message's `Received` headers. Empty when the email was delivered directly without forwarding. attachments: type: array items: From 7a5a32ab6cdd2c4a23d8ad1659f09e983aec7ebb Mon Sep 17 00:00:00 2001 From: platoresend Date: Fri, 26 Jun 2026 11:57:55 +0000 Subject: [PATCH 2/2] docs: drop incorrect received_for empty-when-direct note --- resend.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resend.yaml b/resend.yaml index f516672..6dba4f2 100644 --- a/resend.yaml +++ b/resend.yaml @@ -3669,7 +3669,7 @@ components: type: array items: type: string - description: The recipient addresses the email was forwarded for, taken from the `for` clause of the message's `Received` headers. Empty when the email was delivered directly without forwarding. + description: The recipient addresses the email was forwarded for, taken from the `for` clause of the message's `Received` headers. example: ['forwarded@example.com'] html: type: [string, "null"] @@ -5643,7 +5643,7 @@ components: type: array items: type: string - description: The recipient addresses the email was forwarded for, taken from the `for` clause of the message's `Received` headers. Empty when the email was delivered directly without forwarding. + description: The recipient addresses the email was forwarded for, taken from the `for` clause of the message's `Received` headers. attachments: type: array items: