Intelligence officials say Iran was behind threatening emails sent to Democrats earlier this week.