Found a fascinating conversation on Hacker News about scripting mutt to include a html message in outgoing email, as well as plaintext, by writing emails in markdown and having pandoc convert it to standlone html prior to sending (see here, and here for the full thread).
Is there any way for astroid users to do something similar using its current capabilities, i.e., without having to patch astroid itself?