> For the complete documentation index, see [llms.txt](https://docs.digibee.com/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digibee.com/documentation/connectors-and-triggers/pt-br/connectors/web-protocols/email-v1.md).

# Email V1 (Descontinuado)

Conheça o componente e saiba como utilizá-lo.

{% hint style="info" %}
O **Email V1** foi descontinuado e não é mais atualizado. Consulte as documentações das versões mais recentes da *feature*: [Email V2](/documentation/connectors-and-triggers/pt-br/connectors/web-protocols/email-v2.md).&#x20;
{% endhint %}

O **Email V1** invoca o servidor SMTP em um *pipeline*. Para poder utilizar o Email V1 , você precisa criar uma account do tipo SMTP. Leia o [tutorial](/documentation/connectors-and-triggers/pt-br/connectors/web-protocols/email-v1/email-v1-usage-example.md) para saber como utilizar o ***Email V1.***&#x20;

## Parâmetros

Dê uma olhada nas opções de configuração do componente. Parâmetros suportados por [expressões Double Braces](/documentation/connectors-and-triggers/pt-br/double-braces/overview.md) estão marcados com (DB).

<table data-full-width="true"><thead><tr><th>Parâmetro</th><th>Descrição</th><th>Valor padrão</th><th>Tipo de dado</th></tr></thead><tbody><tr><td><strong>Account</strong></td><td>conta a ser utilizada pelo componente</td><td>Nenhum</td><td><em>Qualquer</em></td></tr><tr><td><strong>From</strong></td><td>configura o e-mail remetente a ser enviado pelo componente</td><td>Nenhum</td><td><em>String</em></td></tr><tr><td><strong>Subject</strong></td><td>configura o assunto a ser enviado pelo componente</td><td>Nenhum</td><td><em>String</em></td></tr><tr><td><strong>Content Type</strong></td><td>configura o Content Type e a codificação</td><td>Nenhum</td><td><em>String</em></td></tr><tr><td><strong>Template</strong></td><td>template body que pode ser utilizado para preparar templates de e-mail (em HTML)</td><td>Nenhum</td><td><em>String</em></td></tr></tbody></table>

### **Exemplos dos parâmetros**

**From**

```
example@examplo.com.br
```

**Subject**

```
Example: ${subject}
```

**Content Type**

```
text/html; charset=UTF-8
```

**Template**

```
<html><body><strong>${firstname} ${lastname}</strong></body></html>
```

Fluxo de Mensagens\
Entrada <a href="#fluxo-de-mensagens" id="fluxo-de-mensagens"></a>
------------------------------------------------------------------

O componente espera uma mensagem no seguinte formato:

```
{
    to  : ["abc1@gmail.com","abc2@gmail.com"]
    cc  : ["abc1@gmail.com","abc2@gmail.com"],
    bcc : ["abc1@gmail.com","abc2@gmail.com"],
	   params: { 
                     // Template body replacement parameters
			"paramA":"valueA",
			"paramB":"valueB",
			...
			"paramN":"valueN"
		}
}
```

### Saída <a href="#sada" id="sada"></a>

Quando ocorre um erro, esta é a mensagem que é mostrada na saída do componente:

```
{
    timestamp: 1503608693745,
    code: 999,
    message:  "error message"
}
```

Note que, para alguns erros, *body* e *header* estão indisponíveis.


---

# 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.digibee.com/documentation/connectors-and-triggers/pt-br/connectors/web-protocols/email-v1.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.
