Gravar e-mail: The impact of financial market imperfections on trade and capital flows