Start espresso with a recipe that fits the basket and coffee, then record both dry dose and beverage mass. CoffeeBox's guide suggests 18–20 grams, around 25–30 seconds and water at 90–96°C as starting references. Its stated 36–40 milliliters is not automatically a 1:2 mass ratio: for that ratio, weigh the beverage rather than assume milliliters and grams are interchangeable.
Distribute grounds evenly, tamp level and follow the machine's preparation routine. Adjust one variable at a time and assess sweetness, acidity, bitterness and texture after the shot cools enough to taste comfortably. A fast shot, dark crema or one flavor impression cannot on its own establish the cause of a problem. Blends and single-origin coffees, across multiple roast levels, can all make successful espresso with an appropriate recipe.
For milk drinks, prepare integrated microfoam and keep the wand clean. Equipment maintenance and suitable water matter, but water's total dissolved solids alone does not describe hardness or machine compatibility. Follow the manufacturer's water guidance. There is also no need to drink a dangerously hot shot within thirty seconds to preserve its quality. Treat the numbers as a starting experiment rather than a definition of perfect espresso.

The conversation
A good question can make a better brew.