> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/pt/automatizacao/runbooks/runbook-references/user/mail/add-or-remove-email-address.md).

# Adicionar ou remover endereço de e-mail

Adicionar um endereço de e-mail à caixa de correio deste utilizador ou remover um

### Descrição

Adiciona um endereço de alias à caixa de correio deste utilizador ou remove um. Também pode definir um endereço novo ou existente como o endereço principal a partir do qual o correio de saída é enviado.

### Localização

Utilizador → Correio → Adicionar ou remover endereço de email

**Nome completo do runbook**

rjgit-user\_mail\_add-or-remove-email-address

### Detalhes

| Propriedade         | Valor                                                                             |
| ------------------- | --------------------------------------------------------------------------------- |
| Versão              | 1.0.1                                                                             |
| Módulos necessários | <p>RealmJoin.RunbookHelper (>= 0.8.10)<br>ExchangeOnlineManagement (>= 3.9.2)</p> |
| Agendável           | não                                                                               |

### Permissões

#### Permissões de aplicativo

* **Tipo**Office 365 Exchange Online
  * Exchange.ManageAsApp
    * *Adiciona, remove ou promove aliases SMTP através de Set-Mailbox na sessão do Exchange Online apenas da aplicação*

#### Funções RBAC

* Administrador do Exchange
  * *Necessário para que a sessão do Exchange Online apenas da aplicação altere os endereços proxy*

### Parâmetros

#### Nome de usuário

Nome principal do usuário no qual o runbook atua. Definido pelo portal a partir do usuário selecionado.

| Propriedade      | Valor                                                   |
| ---------------- | ------------------------------------------------------- |
| Obrigatório      | verdadeiro                                              |
| Valor padrão     |                                                         |
| Tipo             | Texto                                                   |
| Oculto no portal | sim (predefinido por meio da personalização do runbook) |

#### EmailAddress

Endereço a adicionar ou remover, por exemplo <jane.doe@contoso.com>.

| Propriedade                | Valor             |
| -------------------------- | ----------------- |
| Obrigatório                | verdadeiro        |
| Valor padrão               |                   |
| Tipo                       | Texto             |
| Nome de exibição no portal | Endereço de email |

#### Remover

Indica se o endereço é removido em vez de adicionado. Definido pela opção "Ação".

| Propriedade                | Valor                                                   |
| -------------------------- | ------------------------------------------------------- |
| Obrigatório                | falso                                                   |
| Valor padrão               | Falso                                                   |
| Tipo                       | Booleano                                                |
| Nome de exibição no portal | Remover este endereço                                   |
| Oculto no portal           | sim (predefinido por meio da personalização do runbook) |

#### asPrimary

Torna este endereço o principal a partir do qual o correio de saída é enviado.

| Propriedade                | Valor                            |
| -------------------------- | -------------------------------- |
| Obrigatório                | falso                            |
| Valor padrão               | Falso                            |
| Tipo                       | Booleano                         |
| Nome de exibição no portal | Definir como endereço principal? |

[Voltar à visão geral da referência do runbook](https://docs.realmjoin.com/pt/automatizacao/runbooks/runbook-references.md)


---

# 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://docs.realmjoin.com/pt/automatizacao/runbooks/runbook-references/user/mail/add-or-remove-email-address.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.
