Get all the details of an email that is associated to a deal using API

How to get all the details of an email associated to a deal?
I’m just getting the snippet.

Thanks!

Hi,
Can you clarify what details you are looking for?

The following wiki might be handy
https://devcommunity.pipedrive.com/t/combining-data-of-related-entities-which-happen-to-separate-endpoints/4954/2

Feel free to create a new topic if you still face challenges.