> For the complete documentation index, see [llms.txt](https://doc.dastra.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.dastra.eu/en/features/settings/email-domains.md).

# Email domains

Allow users in your organization to directly join your space with a suitable role.

This page explains how to let future colleagues join your organization without any action on your part. It is intended for organization owners.

## Purpose of email domains

Email domains let you assign your future colleagues directly to a workspace, with the role you chose, without any action on your part.

## Configure email domains

The **Authorized email domains** block is at the top of the **Single sign on** page: open **Organization settings** > **Single sign on**.

<figure><img src="https://2697025545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LvBxs22wUMicv9uWp6C-1972196547%2Fuploads%2Fgit-blob-fb5dea94c85c631cf981229fdcd35d1ce4548896%2Fsettings-email-domains-1.png?alt=media" alt="The Authorized email domains block, with a domain entered, the option enabled, the default role and the workspace"><figcaption><p>The Authorized email domains block, at the top of the Single sign on page</p></figcaption></figure>

1. In **Type your top-domain here**, enter each domain (for example `dastra.eu`), then press Enter or click **Add**.
2. Turn on **Allow users using registered email domains to join the organization**.
3. In **Default role**, choose the role assigned to future users. The **Guest (no data access)** role is offered by default.
4. In **Select a specific workspace**, choose the workspace concerned, or keep **All workspaces**.
5. Click **Save changes**.

The role and the workspace can be changed only while the option of step 2 is turned on.

{% hint style="warning" %}
You can only add domains that are already authorized, that is, domains for which a user of your organization has already validated an email address.

Personal email domains (gmail, hotmail, etc.) and domains identified as disposable are refused.
{% endhint %}

## Impact on future users

A colleague who signs up on Dastra must still enter their email address and validate it. Dastra then offers to join your organization.

They click **Join** and can start working with you.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.dastra.eu/en/features/settings/email-domains.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
