Fix type error when reading price from emails