Added mimetype for attachments