Display automated emails when invoking marketing email with statistics endpoint

I'm working on a tool that needs to display all recently sent emails in identical way they're displayed on Marketing Email > Analyze > Overview dashboard. Currently the `/marketing-emails/v1/emails/with-statistics` endpoint doesn't return automated emails, which is pretty misleading.

 

I need a way to fetch all of these emails, automated ones included.

 

I'd suggest adding a filter as optional parameter that would either retrieve all email types or allow more granular control via flags.

HubSpot updates