I've been working with the Mandrill API for sending transactional email for a while.
I want to use the API to display inside of a web application the total stats for an email (an "email" being one message sent to multiple recipients) being. (recipients, bounces, opens, clicks).
The problem is that Mandrill sends back an ID for each message sent. So if I sent an email to 100 people, I would get 100 message IDs. It would be extremely expensive to look up each of those messages, get each message's bounce, opens and clicks and sum them together.
I have read the documentation over and over and cannot seem to find a way to get all the information from one "email". Mandrill treats an email to 100 people as 100 emails, but I see it as one email to 100 people.
Is there a less expensive way to gather this information?
Is there a convoluted way to do it using metadata?