wrong sender when getting emails

Hello,

I am using this API call POST/crm/v3/objects/emails to get a list of all emails. However, there is an issue that happens when the email is a reply sent to me.

the value of hs_email_sender_email is not correct and it is the same as hs_email_to email. Even if on the app interface the data is correct and I can see the correct sender but when I get it with the API call it puts my email as the sender and reciever.
Does anyone know what could cause this issue and how to fix it