.Net console app customizations & xml wrapping

xml wrapping of attachments