Now I don't remember what kind of trick there was (I have added a recipe in a mod of mine, but there the recipe comes via mail, you have Gus selling it). Look at some mod that adds recipes and see how it's done?
I've defined the recipe using Json Assets (suppose you have that too), and Mail Framework to send the message with recipe.