Andrew Partington drunkenly cut two gas pipes in his house because his girlfriend had left him and taken their children, the court heard.
He sent a series of Blackberry instant messages to partner Ms Williams on the night before the explosion.
In one he wrote: "Told you next time you leave, house goes up with me. You left your kids with no dad no home. Goodbye. Boom. Gas pipes cut. Already filled up. Boom."
He let his house fill with gas overnight, but said he woke up and cut the gas supply and opened windows.
Partington then lit a cigarette, with devastating consequences.
More top news
The abusive pasts of more than 1,300 violent partners have been disclosed under a scheme introduced less than a year ago, new figures show.
David Cameron has said he wants to cut taxes after the next election because British people "deserve a reward" following years of austerity.
The number of pothole compensation claims is rising and campaigners have urged the Government to pledge more money to fix Britain's roads.