Fixed error in Email dispatcher