This is how I save gmails for printing out as txt, for pdf conversion, or whatever.
1. Open the gmail conversation.
2. Click on “Print All” which will bring up a new, text-based html page for printing, and the Print dialog box. Cancel the Print dialog box.
3. Using the “File -> Save Page as…” menu, save the page as a text file. I use the conversation subject line as the file name as provided by gmail, stripping off the leading “Gmail -” and replacing the “.htm” suffix with “.txt”.
The conversation is now ready for post-processing for inclusion into other formats. Perl or sed can be used for this purpose.








