Cut the spring onion and red pepper into tiny pieces. Finely chop the herbs of your choice.
In a small bowl, whisk the eggs. Add the chopped onion, herbs and grilled red pepper. Season to your liking.
Line a small silicon loaf case or tin with 3 or 4 slices of the ham.
Chop the remaining ham and add to the egg mixture. Add the cheese too, if used.
Pour the egg mixture into the loaf tin, then put it into the air fryer. Set it to bake for 15 minutes, at 190°C.
Alternatively, bake it in a preheated oven, set to 190°C, for about 20 minutes.
Insert a skewer in the middle - if it comes out clean, it’s ready.
Let it cool in the case for 5 minutes, then turn it out onto a chopping board.
When cooled, cut it into slices or chunks.