Skip to content

Sandbox sender: footer shows the old organization after a project moves #280

Closed as not planned

Description

@Silthus

Map: Map: let teams send a first email before verifying their domain
Found in review of Sandbox sender: block sends to anyone outside the organization; the code is from Sandbox sender: send through the sandbox route with the fixed sender identity (draft PR PostHog#111401).

Problem

The sandbox identification footer names the organization from the cached team record in Node. After a project moves to another organization, the footer can show the old organization's name until that cache refreshes, while the recipient check already uses the current organization.

Wanted

The footer and the recipient check name the same organization: the project's current one.

Test seam

email.service.test.ts: a project moved to another organization sends with the new organization's name in the footer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions