For the cranberry jam:
¾ cup fresh cranberries
¼ cup sugar
2 tablespoons freshly squeezed orange juice
¼ cup water
1 teaspoon finely grated orange zest
For the drinks:
1 tablespoon kosher salt
1 tablespoon sugar
Pinch each of cinnamon and white pepper, optional
2 ounces freshly squeezed lime juice
4 ounces freshly squeezed orange juice
6 ounces tequila
Place the cranberries, sugar, orange juice and water in a small saucepan. Bring to a boil, then reduce heat to a simmer. Cook, stirring occasionally, for about 15 minutes, or until the mixture is thick and jammy. Remove from heat and mix in the orange zest. Allow to cool completely. Jam can be made up to 5 days in advance. Store in an airtight container in the refrigerator.
Mix salt, sugar, cinnamon and white pepper (if using) together on a small plate. Rub the rims of 4 Old Fashioned glasses with a lime wedge. Dip rims in salt mixture and fill glasses with ice.
For each cocktail, combine ½ ounce lime juice, 1 ounce orange juice, 1½ ounces tequila, and 2 tablespoons of cranberry jam in a cocktail shaker; fill with ice. Cover and shake until outside is frosty, about 30 seconds. Strain into prepared glass.