fn canonical_emails( threepids: &[ThirdPartyIdentifier], ) -> Result<BTreeSet<String>>
Canonicalizes the email addresses among threepids.
threepids
Other media are dropped, since nothing stores them.