Skip to content

Send Email credentials#

You can use these credentials to authenticate the following nodes:

Prerequisites#

  • 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#

  • SMTP account

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#

To configure this credential, you'll need:

  • A User email address
  • A Password: Depending on your email provider, 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 default is port 465, commonly used for SSL. Other common ports are 587 for TLS or 25 for no encryption. Check with your provider.
  • SSL/TLS: When turned on, SMTP will use SSL/TLS.
  • Client Host Name: If needed by your provider, add a client host name. This name identifies the client to the server.

Quickstart guides to some common email providers are below.

Using Gmail#

To configure the SMTP credential with a Gmail account, use these settings:

  • User: Enter your Gmail email address.
  • Password: Generate an App password and use that password in the n8n credential. Refer to Google's Sign in with app passwords documentation for detailed instructions.
  • Host: Enter smtp.gmail.com.
  • Port: Keep the default 465 for SSL; enter 587 for TLS; or check with your email administrator.
  • SSL/TLS: Toggle on.

Refer to the Outgoing Mail (SMTP) Server settings in Read Gmail messages on other email clients using POP for more information.

Using Yahoo Mail#

To configure the SMTP credential with a Yahoo Mail account, use these settings:

  • User: Enter your Yahoo email address.
  • Password: Generate an App password and use that password in the n8n credential. Refer to Yahoo's Generate and manage 3rd-party app passwords for detailed instructions.
  • Host: Enter smtp.mail.yahoo.com.
  • Port: Yahoo supports the default 465 and 587; check with your email administrator.
  • SSL/TLS: Toggle on.

Refer to IMAP server settings for Yahoo Mail for more information.

Using Outlook.com#

To configure the SMTP credential with Outlook.com account, use these settings:

  • User: Enter your Outlook.com email address.
  • Password: Enter your Outlook.com password. You can also use an app password, but Outlook.com doesn't require one. Refer to Outlook's Create app passwords from the Security info (preview) page for detailed instructions.
  • Host: Enter smtp-mail.outlook.com.
  • Port: Enter 587.
  • SSL/TLS: Toggle on.

Refer to Microsoft's POP, IMAP, and SMTP settings for Outlook.com documentation for more information.