>I'm wondering if there is a way to keep the indentation of code examples that are writen in these messages. It seems that TABs ans SPACEs are removed from the original message. am I right?
This is HTML so you need to take care of it when creating the message. The help documents from the main page mentions to put a PRE tag before and after a section of code to have it as is.