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
Fans of ITV's popular and long-running soap will be treated to even more episodes from Weatherfield from late 2017.
Nicola Sturgeon has said she would not be fit to be First Minister if she did not do all she could to ensure they stayed in the EU.
Charaf Elmoudden went to the singer's four-bedroom house in north-west London last year and made off with goods worth more than £200,000.