changes mime type order for mail attachment