It is possible to get access to a text version of the email, by typing in the terminal:
openssl s_client -connect pop.gmail.com:995 -quiet
However the command list seems quite limited: USER, LIST, QUIT, RETR, TOP.
Is there a list of commands that makes it similar to mutt or other text email client?