How to read mail content (body) and extract them in to csv file

1.I am trying to connect to web mail by giving credentials setup and reading the unread mails based on subject
2.Then i wanted to extract those mail body information in to csv or note pad or excel

1st part was done but am getting problem in 2nd part

I am attaching the screen shots please any one guide me on this

Some one help me on this advance thanks