You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Which MCP tools let an agent verify an email sender on its own? #462
Which tools let an agent verify an email sender on its own, end to end, through the PostHog MCP (create the sender, read the DNS records, apply or check them, confirm verification), and which of them are on PostHog/posthog master today?
Inventory Michael's open pull requests on PostHog/posthog and Silthus/posthog that touch email senders, domain verification, the domain wizard, or MCP tools for them. For each: title, link, state, what it adds, what blocks it, and whether it still needs to move from the fork to upstream. Name the gap an agent still hits between "no sender" and "verified sender".
This decides what the slice-1 skill can tell an agent to do, and whether a task to land those tools comes before the spec.
Checked against upstream/master at f7a60dd0c7a (2026-10-14) and open PR state on both repos.
Answer
No. On PostHog/posthog master an agent cannot verify an email sender through the PostHog MCP. None of the four steps has an MCP tool, and the REST routes for steps 2 to 4 reject scoped API keys and OAuth tokens ("This action does not support personal API key access"), because email/verify, PATCH email and both domain-connect actions are in neither scope list of the integrations viewset.
The tools exist as a draft only.#343 adds five MCP tools, scopes and schemas for those routes, a setting-up-an-email-domain skill and evals, behind the server flag workflows-email-domain-agent-setup. Its upstream twin PostHog#109703 is closed. No PR with these tools is open on PostHog/posthog.
For the map: a task to land the sender tools (rebased feat(workflows): let agents set up an email sending domain via mcp #343, plus #345 and #351) should come before the spec. Otherwise the slice-1 skill must say verification happens in the PostHog UI. The slice-1 skill also has to account for two flags: the map's email send flag and workflows-email-domain-agent-setup.
The local branch t3/native-mail-workflow-blocks (not on the fork) is an older combined version of the wizard and agent setup, now superseded by the stack above.
Other open Workflows email PRs the email send API may collide with or reuse
Sandbox sender stack (PostHog#111368 to #112071): trial sender and recipient rule to reuse; sender validation and send-time routing may collide.
PostHog#112003, #112032: first-run sender resolution; reuse the "which sender" logic.
PostHog#112885, #112897: EmailService deps object and extracted pacing; every new call site collides.
Activity
Silthus commentedon Oct 14, 2026
Claimed by conductor dispatch. Runtime: Claude Code background Agent, worker research-462-sender-verification-tools, Sonnet 5.5 high.
Silthus commentedon Oct 14, 2026
Runtime: Claude Code background Agent
Worker: research-462-sender-verification-tools
Cast: Sonnet 5.5, high (Survey). Wall-time cap: 30 minutes.
Silthus commentedon Oct 14, 2026
Resolution
Checked against
upstream/masteratf7a60dd0c7a(2026-10-14) and open PR state on both repos.Answer
PostHog/posthogmaster an agent cannot verify an email sender through the PostHog MCP. None of the four steps has an MCP tool, and the REST routes for steps 2 to 4 reject scoped API keys and OAuth tokens ("This action does not support personal API key access"), becauseemail/verify,PATCH emailand bothdomain-connectactions are in neither scope list of the integrations viewset.setting-up-an-email-domainskill and evals, behind the server flagworkflows-email-domain-agent-setup. Its upstream twin PostHog#109703 is closed. No PR with these tools is open onPostHog/posthog.workflows-email-domain-agent-setup.Step-by-step gap list (master today)
integrations_createnot intools.yaml)integration:writekeysintegrations-email-createintegration-get/integrations-listhide sender configPOST email/verifyresponse, route unscopedintegrations-email-verify-createdomain-connect/checkandapply-urlunscoped; person approves URLverifyunscoped and writes SES on every call;config.verifiedhidden inintegrations-listemail/status, #351config.verifiedintegrations-email-partial-updatePostHog#113091 (open) already flips
config.verifiedin the background for pending senders, but gives the agent no tool.PR table
GET email/statusconfig.verifiedinintegrations-listphs_messaging preferences, transactional email recipeThe local branch
t3/native-mail-workflow-blocks(not on the fork) is an older combined version of the wizard and agent setup, now superseded by the stack above.Other open Workflows email PRs the email send API may collide with or reuse
EmailServicedeps object and extracted pacing; every new call site collides.Context
Full findings with file-level sources:
research/email-sender-verification-tools.mdon branchresearch/email-sender-verification-tools.Not checked: PR diffs beyond descriptions and file lists, and whether the agent-setup flag is on for any project.