Written pack_mime_text function and started on unpack_mime_text