transfer message to mime message