add fetch-message CLI and API