Skip to content

fix(support): poll Gmail for APPROVE reply threads#3543

Merged
bernardhanna merged 2 commits into
devfrom
feature/support-gmail-approval-poll
May 19, 2026
Merged

fix(support): poll Gmail for APPROVE reply threads#3543
bernardhanna merged 2 commits into
devfrom
feature/support-gmail-approval-poll

Conversation

@bernardhanna
Copy link
Copy Markdown
Collaborator

Summary

APPROVE replies use subjects like Re: [CW-SUPPORT #10] ... without codeweek-support, so poll never fetched them (approvals_processed: 0).

Extends poll query: (subject:codeweek-support OR subject:"[CW-SUPPORT") newer_than:90d

Test plan

Made with Cursor

bernardhanna and others added 2 commits May 19, 2026 16:42
APPROVE replies use Re: [CW-SUPPORT #n] subjects without codeweek-support,
so they were never ingested. Extend the poll query to OR in the approval prefix.

Co-authored-by: Cursor <cursoragent@cursor.com>
Notify the team when an approved action succeeds or fails, in the same
Gmail thread as the dry-run summary. Configurable via
SUPPORT_GMAIL_SEND_COMPLETION_EMAIL.

Co-authored-by: Cursor <cursoragent@cursor.com>
@bernardhanna bernardhanna merged commit 7561d18 into dev May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant