Skip to content

Add freelancer@dtcdev.click mailbox workflow - #108

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

alexeygrigorev merged 1 commit into
mainfrom
feat/freelancer-mailbox

Conversation

@alexeygrigorev

Copy link
Copy Markdown
Member

What

Adds freelancer-mailbox, a tofu/orin-shaped HTTP-forward workflow that claims freelancer@dtcdev.click and posts inbound mail to the Freelancer Grok bot webhook. Storage keys webhook_url and webhook_token are read at runtime (Bearer auth). The formatted payload includes from, subject, body/snippet/text, and thread_link when the body has an Upwork, Fiverr, Contra, Malt, or Freelancer.com URL.

The route uses sender policy anyone so Gmail-forwarded marketplace mail is accepted. Wildcards are not supported on allowlists, and those messages do not come from a fixed set of addresses. dev/tofu/orin stay on their allowlists.

Tests

Full suite equivalent to make test: 5140 passed, 48 skipped, 42 subtests passed.

Live (already published via CLI; this PR is the source of truth)

The workflow is live as freelancer-mailbox v1, hook freelancer is reserved, and storage for the bot webhook is set. An end-to-end [TEST] mail from orin@datatalks.club to freelancer@dtcdev.click was handled and the run completed, including post-webhook success.

Hub quota-fallback keys are not provisioned, so mail takes the webhook path (same fail-safe as the other mailboxes when hub_* are unset).

Publish a tofu-mailbox-shaped HTTP-forward workflow so mail to
freelancer@dtcdev.click posts to the Freelancer bot webhook (Bearer
token from workflow storage). The payload includes body and a
marketplace thread link when one is present. Document the anyone
sender policy, required because forwarded Upwork/Fiverr/Contra/Malt
mail does not come from a fixed allowlist and wildcards are rejected.
@alexeygrigorev
alexeygrigorev merged commit 4cc95e5 into main Nov 29, 2026
14 checks passed
@alexeygrigorev
alexeygrigorev deleted the feat/freelancer-mailbox branch November 29, 2026 11:13
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