A dozen years ago, John Mark Dougan, a former deputy sheriff in Palm Beach County, Fla., sent voters an email posing as a county commissioner, urging them to oppose the re-election of the county’s sheriff. He later masqueraded online as a Russian tech worker with a...