3
1
How can I get a list of all messages in my gmail account in linux command line? Ideally I would want to see something similar to:
from:sender1@domain.com to:me@gmail.com Date:11/22/33 subj:Foo1
from:sender2@domain.com to:me@gmail.com Date:11/22/33 subj:Foo2
Not necessary with words from, to etc or certain order. Thank you
I'm guessing you want this to be a done repeatedly? Sort of like an update? – Reuben L. – 2014-03-09T15:33:23.050
Most likely solution would entail:
(1) Use of a commandline browser like
lynx
(2) Either a post command or Gmail API (if you use the email with Google Apps)
(3) The use of the html-based UI page for your inbox:
http://mail.google.com/mail/?ui=html
with a parameter like-dump
in lynx to move it to stdout. – Reuben L. – 2014-03-09T15:43:29.507