That's not a fair summation of her campaign.  She had developed and announced policy -- the major media literally spent more time covering stories about her emails than they spent covering her policy announcements.

Also, it's very rare in the US that they elect a successor president of the same party as the last one if they served 2 terms.  The fact that Obama was in office 8 years was a hurdle for the Democrats, not an advantage.