Pošljite SMS: Endogenous Market Structures and the Macroeconomy