Hillary Clinton's use of private email while secretary of state put the "entire country in danger", US Republican Donald Trump says.