bug fix - email