Set correct content type when attaching files

When files are attached the content type gets reset back to multipart/alternative. It should  be multipart/mixed. This causes only the attachment to be displayed on certain email clients like the iPhone.