> For the complete documentation index, see [llms.txt](https://help.cosmobots.io/help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.cosmobots.io/help/bot-builder/fluxo-da-conversa/e-mail.md).

# E-mail

{% embed url="<https://drive.google.com/file/d/1-1e7z2Vnxz2Ed8vCJaA3X1tX9XUs-OwE/view?usp=sharing>" %}

O plug-in de E-mail permite que você envie um e-mail automatizado para o usuário, contendo as informações personalizadas.&#x20;

Vou te mostrar como fazer isso, vamos lá!

1- Dentro do bot que você deseja enviar o e-mail, selecione clique na etapa E-mail:

![](/files/-MHCZBFk6qJeL7k6f4ex)

{% hint style="info" %}
&#x20;OBS #: Será necessário cadastrar um serviço de e-mail. Aqui você pode colocar o próprio e-mail que você está utilizando na plataforma ou escolher um outro e-mail.&#x20;
{% endhint %}

2- Em serviço de e-mail clique em +, dê um nome ao seu serviço de e-mail, selecione o provedor ao qual ele pertence, coloque o e-mail que você pretende utilizar, a senha do seu e-mail e salve:

![](/files/-MHCZcTgZAbhnZCFB2sb)

{% hint style="warning" %}
OBS: Aqui será necessário que você insira a senha do seu e-mail corretamente, caso  contrário, o envio não será realizado.
{% endhint %}

{% hint style="info" %}
OBS #: Também será preciso cadastrar um modelo de e-mail que é bem semelhante aos modelos que são enviados no gmail, hotmail, outlook e etc.
{% endhint %}

3- Em modelo de e-mail, clique em +, preencha o nome, o serviço de e-mail que você cadastrou, remetente, destinatário, assunto,  corpo,  tipo e salve:

![](/files/-MHCZXKNytJNDUOkS42U)

{% hint style="info" %}
OBS: Caso queira adicionar mais pessoas em cópia, insira os e-mails separados por virgula em Cc ou Bcc, conforme exemplo:

<suporte@cosmobots.io>, <comercial@cosmobots.io>
{% endhint %}

{% hint style="warning" %}
OBS: Após fazer essas configurações, acesse o e-mail que você cadastrou em Serviço de e-mail, vá em Segurança e habilite a opção de acesso à aplicativos menos seguros.&#x20;

Se o seu e-mail for Gmail, é só clicar[ **aqui**](https://accounts.google.com/signin/v2/challenge/pwd?continue=https%3A%2F%2Fmyaccount.google.com%2Flesssecureapps%3Fgar%3D1\&service=accountsettings\&osid=1\&rart=ANgoxcebwHWRJG3DGvXAFG_2KlH1UmCok6DM9mOVmNYnmnHltxPMeRm48F_FF0FKE6b3UAlks0KauMvAFA5kLTCbyYRunRApXw\&TL=AM3QAYa6VGSz48Lq4W1SPvVFgSV4Auf_2G158DxOISSQuZaimPm7r9nRlV-ukM4R\&flowName=GlifWebSignIn\&cid=1\&flowEntry=ServiceLogin) e você será direcionado para a página de ativação dessa permissão.
{% endhint %}

&#x20;

Pronto! Seu modelo de e-mail está configurado. Agora, toda vez que os usuários chegarem até a etapa de e-mail, será automaticamente disparado um e-mail para a caixa de e-mail do destinatário.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.cosmobots.io/help/bot-builder/fluxo-da-conversa/e-mail.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
