Yeah, it's just the old RMail code I used as template - it is still not completely implemented in the Mail version of message_to_chunks, I would prefer to see at least the new message_to_chunks have comments with what is missing.