Fetch Campaign Mails of a Contact


#1

Our HubSpot integration would like to fetch campaigns associated with a contact.
For which Email Events API is used to fetch the events for a recipient http://developers.hubspot.com/docs/methods/email/get_events

The above API also returns adhoc mails sent to the contact alone. How to differentiate the campaign mails from the non campaign mails?

There is a parameter in the json response ‘appName’ with value as ‘CRM’. What are the different possible values of appName? Can this parameter be used for identifying campaign mails from the other mails?

Please help.

Kindly help in providing clarification.