How can I approach this? Could you help me?

The format of the text file is not very important. An possible format would be:

Email 1;Involved contact(s);Subject and preview;Date or time 
Email 2;Involved contact(s);Subject and preview;Date or time 
  • What operating system are you on?
    – BrianH
    Jul 6 '11 at 18:52
  • 1
    It looks like you haven't been around for a few days, so here are some suggestions since I don't know your OS: Windows - Try GetMail. For Linux, try Pine, Elm, or Mutt
    – BrianH
    Jul 6 '11 at 19:08
  • Many thanks and apologies for the slow response. I am on Windows. GetMail looks like a useful tool and I will certainly play with it when I find some time.
    – st12
    Jul 15 '11 at 0:02

GMail offers a RSS feed with the basic details of each mail.

I used this XSL file to transform that feed to a more readable format enter image description here

You can tweak the XSL to generate the feed information in a format that you like.

  • +1 for using RSS and XSLT. Definitely a flexible solution!
    – Wivani
    Jul 7 '11 at 11:29
  • I believe the RSS feed only includes unread emails. Hopefully marking a message as unread will put it back on the feed. Jul 8 '11 at 3:42
  • Looks promising. Could you kindly provide some guidance as to how to edit the XSL code to work with the Gmail Atom Feed? (I am new to web technologies.) Would be much appreciated.
    – st12
    Jul 14 '11 at 23:56

You could enable POP downloading and move/copy your inbox to a local client like Thunderbird. From there the messages will be stored in a flat file that you can access.


Have a look at Context.IO, it will let you script that sort of things. If you have any questions or problems, let us know http://support.context.io, we'll be happy to help.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.