Fixed multiple emails bug