Skip to content

Watch marketplace mail in personal Gmail for freelancer-mailbox - #109

Merged
alexeygrigorev merged 1 commit into
mainfrom
feat/freelancer-gmail-poll
Nov 29, 2026
Merged

alexeygrigorev merged 1 commit into
mainfrom
feat/freelancer-gmail-poll

Conversation

@alexeygrigorev

Copy link
Copy Markdown
Member

What

A read-only workaround for Gmail forwarding (the personal Gmail connection has gmail.readonly / gmail.send, not gmail.settings.sharing or gmail.settings.basic).

  • Poll trigger freelancer-gmail (polls/freelancer-gmail.json) watches alexey.s.grigoriev@gmail.com through the existing google-calendar connection, query from:(upwork.com OR fiverr.com OR contra.com OR malt.com OR malt.de OR freelancer.com).
  • gmail.messages already seeds its watermark on the first fire (no backfill) and dedupes by message id.
  • The poll only uses messages.list / messages.get — no labels, archives, deletes, or sends.
  • freelancer-mailbox gains a gmail / message.received trigger filtered to this poll, and reuses the same storage keys and webhook POST. The formatted payload still includes from, subject, body / snippet / text, and thread_link.

Tests

Full suite: 5144 passed, 48 skipped, 42 subtests passed.

Live config

The workflow update and poll will be published via the CLI after merge (polls are not git-synced). The first dapier polls check freelancer-gmail seeds the watermark.

Add a readonly gmail.messages poll (freelancer-gmail) on Alexey's
existing personal Gmail connection so new messages from Upwork, Fiverr,
Contra, Malt, and Freelancer.com post the same webhook payload as
freelancer@dtcdev.click. The first fire seeds the watermark at now (no
backfill); later fires are deduped by Gmail message id. The poll only
lists and reads messages.
@alexeygrigorev
alexeygrigorev merged commit c5b6f5f into main Nov 29, 2026
14 checks passed
@alexeygrigorev
alexeygrigorev deleted the feat/freelancer-gmail-poll branch November 29, 2026 11:45
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.

2 participants