Fixed contact email problem and formatting of attachment