Adding extension for attachments

This is deprecated. I'll remove it. It is no longer necessary. The only thing necessary is making sure the first part is a document.