Email Record: Terms-of-trade shocks and optimal investment :