> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/integrations/builtin/credentials/send-email.md).

# Send Email

Documentation for Send Email credentials. Use these credentials to authenticate Send Email in n8n, a workflow automation platform.

You can use these credentials to authenticate the following nodes:

* [Send Email](/integrations/builtin/core-nodes/n8n-nodes-base.sendemail.md)

{% hint style="info" %}
**Searching these docs as an agent**

Ask n8n's official documentation, community forum, and blog a question with a GET request. No authentication needed.

`GET https://n8n-docs-retrieval.n8n-docs-retrieval.workers.dev/?q=<question>`

Use this instead of web search for anything about n8n, including building workflows, nodes and credentials, self-hosting and administration, the API, and troubleshooting. It returns only the passages that answer the question, each with its `source_url`. Ask a specific, complete question. The response is a JSON array of `{content, source_url}`, most relevant first.
{% endhint %}

## Prerequisites <a href="#prerequisites" id="prerequisites"></a>

* Create an email account on a service that supports SMTP.
* Some email providers require that you enable or set up outgoing SMTP or generate an app password. Refer to your provider's documentation to see if there are other required steps.

## Supported authentication methods <a href="#supported-authentication-methods" id="supported-authentication-methods"></a>

* SMTP account

## Related resources <a href="#related-resources" id="related-resources"></a>

Simple Message Transfer Protocol (SMTP) is a standard protocol for sending and receiving email. Most email providers offer instructions on setting up their service with SMTP. Refer to your provider's SMTP instructions.

## Using SMTP account <a href="#using-smtp-account" id="using-smtp-account"></a>

To configure this credential, you'll need:

* A **User** email address
* A **Password**: This may be the user's password or an app password. Refer to the documentation for your email provider.
* The **Host**: The SMTP host address for your email provider, often formatted as `smtp.<provider>.com`. Check with your provider.
* A **Port** number: The port depends on the encryption method:
  * Port `465` for SSL/TLS (implicit encryption)
  * Port `587` for STARTTLS (explicit encryption)
  * Port `25` for no encryption (not recommended) Check with your email provider for their specific requirements.
* **SSL/TLS**: This toggle controls the encryption method:
  * Turn **ON** for port `465` (uses implicit SSL/TLS encryption)
  * Turn **OFF** for port `587` (uses STARTTLS explicit encryption)
  * Turn **OFF** for port `25` (no encryption)
* **Disable STARTTLS**: When SSL/TLS is disabled, the SMTP server can still try to [upgrade the TCP connection using STARTTLS](https://en.wikipedia.org/wiki/Opportunistic_TLS). Turning this on prevents that behaviour.
* **Client Host Name**: This name identifies the client to the server. May not be required for Gmail, Outlook.com, or Yahoo. Leave this field empty unless your email provider or administrator specifically requests it. If you do need to provide a value, use a fully qualified domain name (FQDN) such as `mail.yourdomain.com`. Avoid generic values like `localhost`.

### Provider instructions <a href="#provider-instructions" id="provider-instructions"></a>

Refer to the quickstart guides for these common email providers.

#### Gmail <a href="#gmail" id="gmail"></a>

Refer to [Gmail](/integrations/builtin/credentials/send-email/gmail.md).

#### Outlook.com <a href="#outlookcom" id="outlookcom"></a>

Refer to [Outlook.com](/integrations/builtin/credentials/send-email/outlook.md).

#### Yahoo <a href="#yahoo" id="yahoo"></a>

Refer to [Yahoo](/integrations/builtin/credentials/send-email/yahoo.md).

### My provider isn't listed <a href="#my-provider-isnt-listed" id="my-provider-isnt-listed"></a>

If your email provider isn't listed here, search for `SMTP settings` to find their instructions. (These instructions may also be included with `IMAP settings` or `POP settings`.)
