Here's another idea: D syntax highlighter for Gmail. Either as a Gmail plugin (can you even write those or is this only available to the Gmail team?), or as a Greasemonkey script. There's a C++ greasemonkey script here: http://userscripts.org/topics/1443 . Black on white code is hard to read, especially when there's templates involved.