added attachments to draft
fix MediaInfo types