Skip to content

Release: Gmail APPROVE poll fix and completion emails#3544

Merged
bernardhanna merged 3 commits into
masterfrom
dev
May 19, 2026
Merged

Release: Gmail APPROVE poll fix and completion emails#3544
bernardhanna merged 3 commits into
masterfrom
dev

Conversation

@bernardhanna
Copy link
Copy Markdown
Collaborator

Summary

  • Poll Gmail for [CW-SUPPORT reply threads so APPROVE is processed
  • Send follow-up email when approved actions complete or fail
  • Docs updated

Test plan

  • Deploy master to prod (all 3 servers)
  • php artisan config:clear
  • php artisan support:gmail:diagnose (poll query includes OR [CW-SUPPORT)
  • Reply APPROVE on a case; confirm approvals_processed and completion email

Made with Cursor

bernardhanna and others added 3 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>
fix(support): poll Gmail for APPROVE reply threads
@bernardhanna bernardhanna merged commit 1aba7d2 into master May 19, 2026
1 check failed
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