Since v2.23.0, the SDK overrides the headers field in JSON responses
This makes the original headers field unavailable (example: get received mail endpoint https://resend.com/docs/api-reference/emails/retrieve-received-email)
I suggest to rename the new headers field to maybe http_headers to be able to differentiate headers from the HTTP response and headers of the mail
Since v2.23.0, the SDK overrides the
headersfield in JSON responsesThis makes the original headers field unavailable (example: get received mail endpoint https://resend.com/docs/api-reference/emails/retrieve-received-email)
I suggest to rename the new headers field to maybe
http_headersto be able to differentiate headers from the HTTP response and headers of the mail