Adapted from this great food blog.
Preheat oven to 180 degrees C.
Put almonds in blender / food processor and grind until fine. Add eggs, oil / butter mix first, then other ingredients except raspberries. If using a Blendtec blender, pulse a few times then run "batters and sauces" cycle. If using a food processor, process until it makes a smooth batter.
Pour into lined muffin tin and bake approx 25 mins.
My mix made 16 normal sizepd cucakes and 12 mini cupcakes.