The FBI and other federal agencies said unsolicited emails were sent to people associated with the then-Democratic candidate.