Automatically generating plain-text version

I know there’s been some discussion and feature request about this, but I’m sure I read something about how someone had hacked together something to automatically create / update the text/plain part of the mail from the text/html part. I can’t find that now.

Can anyone point me at that discussion?

Thanks!