correct mimetype of message