# SMTP

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FVyeOivin9Pd4bdka2V8q%2Fimage.png?alt=media&#x26;token=5a79c73f-0101-405c-badb-bf2d22ad399d" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FkXyL1sepNe3iZsIpAL4U%2Fimage.png?alt=media&#x26;token=137725d4-e43d-4dbf-8cc6-4b1253413d13" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2Fs7eOGSzILFixGBsPuAFm%2Fimage.png?alt=media&#x26;token=34e8f84e-9f7d-4cc4-9452-4202daa6ad0b" alt=""><figcaption></figcaption></figure>

## Description       &#x20;

**What it does** This component allows you to automatically send email by connecting your email address.

The SMTP component has the identifier of smtp-**X**, where **X** represents the instance number of the SMTP component.

**When to use it?** Let's say you want to send automated welcome emails to new users who sign up for your service through a Diaflow workflow. You can use the SMTP node to automatically send personalized welcome emails to each new user as soon as they sign up.

## Component settings

| Parameter Name | Description                                                                                                                                              |
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Credentials    | Select the credentials for connecting to the SMTP server.                                                                                                |
| To             | The recipient email address                                                                                                                              |
| Cc             | The email(s) address(es) to be copied                                                                                                                    |
| Object         | The subject of the email.                                                                                                                                |
| Message        | A comprehensive system for writing paragraphs, which allows you to add images, insert links, and modify your text with various fonts and writing styles. |
| Attachments    | Select and attach files to the email                                                                                                                     |

## Advanced configurations

The SMTP component has no advanced configurations.

## Use case

Here is a simple use case of the SMTP component, where the SMTP component is used to send an email with an attachment and a message.

<figure><img src="https://3864624312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRdo1pkMnofwxf3lpWftw%2Fuploads%2FQNk9ho5gjUz4E5Zch7tQ%2Fimage.png?alt=media&#x26;token=5bb4d333-e083-4a49-a1f6-ce6f7d31cc5d" alt=""><figcaption></figcaption></figure>
