A woman sent MSP Patrick Harvie abusive emails about him and ex-first minister Humza Yousaf.
Maureen Urquhart, 62, made the vile comments between March and April this year.
Urquhart stated that she would shoot Mr Harvie if she had a gun.
She referred to the former Scottish government minister as a “bent shot” and Mr Yousaf as “Humza Useless.”
Urquhart referred to Scottish Greens co-convenor Lorna Slater as a “useless cohort.”
The court heard that Urquhart contacted Mr Harvie by email on March 18, sending a further abusive email on April 10.
Landlord Urquhart claimed Mr Harvie “picked on landlords” and also made comments towards Muslims in one of the two emails.
Urquhart pled guilty at Glasgow Sheriff Court to behaving in a threatening or abusive manner.
The offence was stated to have been racially aggravated.
Urquhart, of Danderhall, Midlothian, was fined £500 by Sheriff Shirley McKenna.
Follow STV News on WhatsApp
Scan the QR code on your mobile device for all the latest news from around the country