Email file send fix