-
Notifications
You must be signed in to change notification settings - Fork 658
gmail search: resolve a contact's addresses into an OR query #657
Copy link
Copy link
Closed
Labels
P3Low-risk cleanup, docs, polish, ergonomics, or speculative feature.Low-risk cleanup, docs, polish, ergonomics, or speculative feature.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.
Description
Metadata
Metadata
Assignees
Labels
P3Low-risk cleanup, docs, polish, ergonomics, or speculative feature.Low-risk cleanup, docs, polish, ergonomics, or speculative feature.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.
Type
Fields
Priority
None yet
Version
v0.19.0 (b25a3c0)
Summary
Searching "mail from this person" is awkward when a contact has multiple addresses
(personal + work). Today you must hand-write
from:([email protected] OR [email protected]). A bare tokenlike
from:alisonrelies on Gmail's own name/address heuristics and matchesinconsistently versus the fully-qualified addresses.
Since gogcli already has
gog contacts search/list(People API) exposing a contact'semails, a convenience that expands a contact into an OR'd address query would be valuable.
Possible shapes
gog gmail searchflag, e.g.--from-contact "Alison Hall", that resolves thecontact's addresses and ORs them into the
from:(…)clause; orgmail search --helpshowing the contacts → OR-query pattern.Note
This is a cross-surface convenience (contacts → gmail). If it's out of scope for the
gmail command, a short doc cross-reference would still help.
Filed from usage of the gogcli-mcp wrapper.