Wallace, who previously lived in Bolton but now resides in Dundee, added: “I will blow the school up. Try me.”
Neil Ronan, prosecuting, said the councillor raised the alarm to authorities and Wallace was contacted by police.
Claire Brocklebank, who the court previously heard mitigation from, said in an earlier hearing: “It was a scare, not to hurt anyone.
“This was a desperate effort to be heard and ask someone in power to get her children back and this was gone about in completely the wrong way.
“She never had any intention of carrying out any of these threats.”
Several weeks later, on January 25, a neighbour who Wallace had a long-standing dispute with was out on a school run with her children.
She was walking just before 8.30pm with three children when she noticed a Mini Cooper driving towards them.
The court heard how Wallace, the driver, “ploughed into” the group, “aiming for the two-year-old”.
Mr Ronan said: “She rammed the pram to the right to get the child out the way. The car was centimetres away from the child at the time they were moved.
“She had a massive grin on her face as she was doing this”.
Before passing sentence, judge Timothy Stead said: “You are 29-years-old. It cannot be said you have a long or relevant record.
“You sent disturbing emails to a local councillor when you were feeling very distressed about your difficulties in having contact with your children.
“Threats to blow the school up, while you did not literally intend to, are still very frightening. You admitted to that.
“Part of your ongoing dispute caused you to drive a vehicle towards a group of people, including children.
“The two-year-old was in a pram. These are significant offences that the court regards as serious.
“In this report it is said that you are someone who cannot regulate your emotions.
“I think that’s it. That’s part of your problem. For the sake of your family as well as yourself.
“This is your last chance to make a fresh start.”
Charlotte Wallace was sentenced to 10-months imprisonment, suspended for two years.
She was also handed a two-year restraining order against three people, including the councillor she emailed.
She was also subject to supervision for two years.