Files
skills-shared/email-processor
SuperUser 24de446308 fix: add robust draft deduplication via gmail_list_drafts lookup
The previous approach of checking for DRAFT labels within gmail_read_thread
was unreliable because the Gmail API often excludes draft messages from
thread reads. This caused duplicate drafts across processing runs.

Now explicitly calls gmail_list_drafts at the start of Phase 1 to build
a threadId blocklist, and hard-blocks draft creation for any thread
already in the set.
2026-03-30 07:13:03 +00:00
..