More robust message parsing

This replaces the usage of attributes from the System.Xml.Serialization namespace, as discussed in #3.
Currently no, as the DeleteMessage function is called only in the case of an EmailData document.