Preheat oven to 350°F. Lightly grease a 9x5 inch loaf pan and line it with nonstick or wax paper. Combine the apricots, butter or margarine, sugar and boiling water. Stir until melted. Allow to cool. Mix in t he egg, flours and baking soda. Add the almonds and spoon the mixture into the prepared pan. Level the top and bake for about 1 hour, or until a skewer inserted in the center comes out clean. Cool on a wire rack before slicing.