async fn replace_emails(
services: State,
user_id: &UserId,
threepids: &[ThirdPartyIdentifier],
) -> ResultExpand description
Replaces the user’s email bindings with exactly the email threepids in
threepids, canonicalizing each. Non-email media are ignored (no store).