example.com. An end user who tries to connect a personal account like jane@gmail.com can’t complete the connection.
How the check works
When an end user connects an account, Pipedream makes a test request to the app to verify the credentials. For many apps, that test request also returns the email address of the connected account. If your workspace or project has an allowlist, Pipedream compares the domain of that email address against the allowed domains:- The domain is allowed: the account connects as usual.
- The domain isn’t allowed: Pipedream rejects the connection.
- The app doesn’t return an email: Pipedream rejects the connection by default. See Apps that don’t return an email.
example.com doesn’t allow eng.example.com. Add each subdomain you want to allow to the list.
Configure allowed domains
You can set an allowlist on your workspace, on a project, or on both. If both have one, the account’s email domain must be on both lists to connect.Set the workspace allowlist
The workspace allowlist applies to every project in the workspace. Only workspace admins and owners can change it.1
Open your workspace's General settings
In the Pipedream UI, open Settings → General. You can also press ⌘K and search for Allowed domains.
2
Add your domains
Under Allowed email domains for connected accounts, type a domain in the Domains field and press Enter, Tab, or a comma. You can also paste a list of domains separated by commas, spaces, semicolons, or new lines.Enter only the domain, like
example.com. The field refuses wildcards (*.example.com), email addresses, and URLs.3
Choose how to handle accounts without an email
Turn on Allow accounts without an email to let apps that don’t return an account email connect. This is the same as
skip_missing_email. See Apps that don’t return an email.4
Save
Click Save allowed domains. The allowlist takes effect immediately.

Set a project allowlist
A project allowlist narrows the workspace allowlist for one project. Any workspace member who can edit the project can change it.- Open the project, then open Configuration → General.
- Under Allowed email domains for connected accounts, add domains to the Domains field.
- Set Allow accounts without an email, then click Save allowed domains.

If the workspace doesn’t allow accounts without an email, the project’s Allow accounts without an email switch is locked off and shows Set by workspace. Pipedream checks the workspace and project settings separately, so an account without an email can connect only if both allow it.
Use the API
You can also setallowed_email_domains on a project with the Update Project endpoint:
{access_token} by creating an OAuth token with your Pipedream OAuth client credentials.
Set allowed_email_domains to null to remove the project allowlist.
Apps that don’t return an email
Some apps don’t return an account email in their test request. This includes most apps that authenticate with an API key. With an allowlist in place, Pipedream can’t verify these accounts, so it rejects them by default. To let end users connect these apps anyway, turn on Allow accounts without an email in the workspace or project settings. See Configure allowed domains. If both the workspace and the project have an allowlist, turn it on in both. With the API, setskip_missing_email to true on the project with the Update Project endpoint:
skip_missing_email is true, Pipedream skips the domain check for accounts that don’t return an email and lets them connect. Accounts that do return an email are still checked against the allowlist.
Errors
When Pipedream rejects a connection, the end user sees an error in the Connect flow. If you passed awebhook_uri when you created the Connect token, Pipedream also sends a CONNECTION_ERROR event to your connection webhook.
For example:
Limitations
Keep these limits in mind:- Pipedream checks the email periodically, not on every request. Pipedream runs the check when the account connects, and again when it refreshes the account’s credentials in the background. Background refreshes happen at least once an hour, typically on a schedule based on when the app’s access token expires.
- Some apps let users change their account email. If an end user changes an account’s email to a domain that isn’t allowed, the account keeps working until Pipedream’s next background refresh. If an app lets users change their email freely, don’t rely on the allowlist for that app.
- An email domain doesn’t prove ownership. An account with an allowed email domain isn’t necessarily managed or authorized by the organization that owns the domain.
skip_missing_emailbypasses the check. Accounts for apps that don’t return an email connect without any domain verification.

