In a medium saucepan, whisk together the sweetened condensed milk, cocoa powder, espresso powder, and ½ cup of the half-and-half.
Heat over medium-low heat, whisking frequently until the cocoa powder is fully incorporated and the mixture is smooth.
Slowly whisk in the remaining 1½ cups of half-and-half. Continue warming gently for another minute or two, without boiling.
Remove from the heat and stir in the vanilla extract, peppermint extract, and salt.
Allow the creamer to cool, then transfer it to a clean glass jar or bottle with a tight-fitting lid. Refrigerate promptly.
Shake well before using and add to hot or iced coffee as desired.