adding ability to get the flow api token with a flow map, adding team inbox functionality