Donald Trump's campaign chief thinks Hillary Clinton could learn a thing or two from Debbie Wasserman Schultz, who resigned from her leadership position due to an email-related scandal.

Campaign chairman Paul Manafort issued a statement on behalf of the Republican nominee hours after Wasserman Schultz said she planned to leave her post as Democratic National Committee chair.

"Debbie Wasserman Schultz resigned over her failure to secure the DNC's email servers and the rigged system she set up with the Clinton campaign," Manafort said. "Now Hillary Clinton should follow Wasserman Schultz's lead and drop out over her failure to safeguard top secret, classified information both on her unauthorized home sever and while traveling abroad."

Manafort said while Wasserman Schultz's emails "only" put the Democratic Party at risk, the former secretary of state's put "all of America at risk."

WikiLeaks published 20,000 DNC emails Friday. The messages included staffers' plans to help Clinton win the nomination and see to it that Vermont Sen. Bernie Sanders failed.