Getting outlook email metadata.

I want to get access to an msg file (standalone, outlook message file) and read all of its metadata (like To,cc,bcc, size,from,sent time etc..)

Which language will be useful in achieving this in an easy manner?

In addition, will outlook API can be used? If it is , then any code samples please?

Any help,would be appreciated.