Skip to content

Decide primary-correspondent resolution for multi-address To/Cc headers #14

Description

@Hohnik

Part of #12

Question

#10's grouping logic resolves the primary correspondent as "the sender (inbound) or recipient (outbound), excluding every address across all connected accounts" — but From/To/Cc are stored as raw header strings that can contain more than one comma-separated address (e.g. a message To two people, only one of which is a connected account).

Decide the exact address-parsing and selection rule for turning a raw To header into "the" primary correspondent when it contains more than one address — including what happens when zero or more than one non-account address remains after exclusion — and record the answer as an update to #10's acceptance criteria.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions