1. Whisk together dry mustard and vinegar in a medium metal bowl until smooth. Chill, covered, overnight.
2. Bring a medium saucepan filled with 1 inch water to a simmer. To bowl of vinegary mustard, whisk in 1/4 cup water, egg, sugar, cornstarch, and salt. Set bowl over simmering water and cook, whisking constantly, until mustard thickens, 2 to 3 minutes. Remove from heat, whisk for a minute, and then let cool.
Make ahead: 2 weeks, covered and chilled.
Your imagination's the limit when it comes to making flavored mustard. All you need are mustard seeds or dry mustard powder, and then the seasonings are up to you.
Mustard seeds or mustard powder?
Mustard seeds: Use when you want a whole-grain, crunchy texture. The three types are yellow, aka white (Sinapis alba), the mildest and used mainly in American-style mustards and for pickling; brown (Brassica juncea), zestier and used in European-style mustards (like Dijon), for pickling, and in Indian cooking; and black (B. nigra), also used in Indian food; they're interchangeable with the brown. Seeds need to soften in liquid for 1 to 2 days before you make mustard with them.
Mustard powder: For silky smooth mustard. It's nothing more than ground mustard seed, and the most common brand is Colman's, a blend of white and brown seeds. Mix the powder with liquid (like water or beer) and let it sit overnight to fully hydrate and develop flavor. Don't let it sit longer, though, or it will taste harsh.
Total time does not include overnight chill time.