I just made up a recipe for this, so before I forget it:

mangoes
sugar
teensy bit of water
some lemon juice
a bit of brandy (not too much)
two peppercorns
lemon zest.

Make jam out of it.

It's really nice.