> For the complete documentation index, see [llms.txt](https://ajudaerp.sfhera.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajudaerp.sfhera.com.br/gerencial/contas-de-email/conta-email-api-gmail.md).

# Conta Email API Gmail

Uma das opções de configuração de Email é possível configurar pela API do Gmail para o envio de NFCe e boletos de maneira rápida aos clientes, para configurar o e-mail abra o SfheraERP e clique em **Gerencial -> Configurações -> Contas de Email.**

<figure><img src="/files/8oqL8mPb8W2M7gnmGgmC" alt="" width="465"><figcaption><p><strong>Acessando as Contas de Email</strong></p></figcaption></figure>

Informe ao nosso suporte qual o email de envio do Gmail você irá utilizar, após preencha os campos de configuração conforme abaixo:

<figure><img src="/files/MmgKiD9oWloo35oMmPEB" alt="" width="563"><figcaption></figcaption></figure>

1. **Nome:** Identificação da conta de e-mail que será cadastrada.
2. **Empresa:** Preencher caso e-mail seja vinculado apenas a uma empresa (deixar em branco para múltiplas empresas).
3. 3\. **Servidor SMTP/Porta:** Endereço do servidor provedor do e-mail e porta.
4. **Usuário/Senha:** Usuário da conta e senha de acesso ao e-mail.
5. **Nome Remetente:** Nome que identificará o remetente dos e-mails enviados.
6. **E-mail Remetente:** Endereço de e-mail que será o remetente dos e-mails enviados.
7. **URL Logotipo:** Endereço online do logotipo da empresa.
8. **Situação:** Situação usada para disponibilizar a conta (ativa ou inativa).
9. **Servidor Requer Autenticação:** No caso do Servidor usar protocolo SSL de autenticação, marcar essa opção.
10. **Utilizar para Envio Financeiro:** Marcar caso conta seja usada para envio de cobranças, boletos e recibos.
11. **Utilizar para Envio Faturamento:** Marcar caso conta seja usada para envio de documentos do sistema (NFe, NFCe, Orçamentos, etc).
12. Modo de Envio: API Google.
13. Após salvar vá no F12 para conectar a conta google.

<figure><img src="/files/zzPtx7RqZq43HcaMr09b" alt="" width="563"><figcaption></figcaption></figure>

Já pode testar após esses passos.


---

# 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://ajudaerp.sfhera.com.br/gerencial/contas-de-email/conta-email-api-gmail.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.
