My patch has been accepted by webos-internals and is now available in Preware.
Originally Posted by beerdini
"Include Plain Text Alternate"
It basically returns the WebOS 1.4.5 email behavior to 3.0.5. It is not extensively tested, but it fulfills my needs and I've been using it for a couple of weeks with no ill effects. I think a change in the mechanism for signature insertion in WebOS 2.x broke the plain text generation in that version and so they commented-out the code to make the 'text/plain' alternate. I spent a lot of time trying to get plain text working nicely in 2.2.4 ever since I moved my Sprint comm board to a Pre2 two and a half weeks ago (Sept. 2012) but haven't been able to get anything more than an embarrassingly ugly hack that includes hard-coding my signature into the patch.
So, to keep a long story long ;-) - at some point I took a break from tearing my hair out working on 2.2.4 email to see what was going on in 3.0.5. Lo and behold, it seemed that they had everything in place to support a 'text/plain' alternate and probably just ran out of testing time so they never 'turned it back on'. This patch uses similar string manipulations to those in 1.4.5 to strip tags and decode html entities and then slaps that string into a regular 'text/plain' alternate hunk for the smtp service. This will produce multi-part emails like 1.4.5 and should not effect the currently generated 'text/html' hunk. It has been tested only on the squirrelmail imap service I use for 95% of my email.
All the usual disclaimers apply - no warranty made or implied, this could possibly mess up your email, use at your own risk, etc. and additionally, I'm a small business owner that clocks about 70 hours a week on things that have nothing to do with developing/coding, I am not looking for feature requests for this patch! I find it very useful and have released it to the community since others have expressed interest. If someone wants to take this work and make a patch that adds a GUI so a user can choose to generate only 'text/plain' or only 'text/html' I welcome it, and will help if I can, but I have no plans to work on such a thing and very limited time for coding projects.
On the other hand, if anyone has made any progress on similar functionality for 2.2.4 please post here or PM me to see if we can get anywhere with our phones.
The patch is in the Preware email category: "Include Plain Text Alternate"
I made a companion patch to the browser that makes the Browser's 'Share via email' work better for text/plain by making the email subject the page title and the body of the email is populated with the page title and the URL separated by a line break. No obscure hyperlinked or canned text.
The Browser patch is named: "More transparent share link"
[PATCH] More transparent share link