Edmund became a representative after the end of the American Civil War. An active Republican, he was nominated to be a delegate from Charleston for the constitutional convention of South Carolina in 1868. He was admitted to the bar in 1868 and practiced law in Charleston while also serving as sheriff and alderman.
He was elected again to the South Carolina House of Representatives in 1876 and claimed to be the Speaker after a tumultuous campaign in the state, marked by violence and intimidation. Republicans disputed the election of Democratic Representatives from Edgefield and Laurens counties because of massive fraud in the election and the barring of freedmen from the polls by Democratic Party Red Shirts.[2] Following the South Carolina Supreme Court's decision to allow seating of elected legislators from Edgefield and Laurens counties, rival state governments assembled. Mackey and the Republican legislators occupied the South Carolina State House with the support of Federal troops.
The order of President Hayes to remove Federal troops from South Carolina on April 10, 1877, a result of a political compromise ended the Republicans' struggle to control state government. The Democrats annulled the election of representatives from Charleston County, including Edmund Mackey.