How do I get "In-Reply-To" and "References" headers

Feb 26, 2014 at 11:37 AM
I am using the AE.Net.Mail library to read emails from Gmail. I need some of the header information like "In-Reply-To" and "References" to figure out if it is a new email or a reply.
Is there a way to get these header information or else to get all the headers from where I can filter out the ones I need.