Material: The material of the mug or glass can affect the temperature of the coffee.
Metal tend to keep coffee hotter for longer, it can also has strong metallic flavor that can affect taste of coffee, which can make it taste more bitter.
Glass if it is made from tempered, heat-resistant glass, it doesn’t affect the flavor of coffee.
Ceramic is a good all-around option, as they retain heat well without imparting any unwanted flavors.
Reinforced Plastic can also trap unpleasant odours and flavours over time, which will affect how your coffee tastes.