Adding extension for attachments

@glennblock : what if more than one mime type is possible? what if any type is possible?