# SMTP (Email)

## Integrate SMTP With Chatman:

1. To create a **custom SMTP account**, you need to have an **SMTP server** that supports email. You can use a free email service like **Gmail** or **Outlook**, but you may have to change some security settings to allow third-party connections. Let's say you choose **Gmail** as **your SMTP server**.
2. Log into your **Gmail account** and **enable two-step verification** for your Google account. You can do this by going to your **account settings** and **clicking on Security > 2-Step Verification**.

insert

3. **Generate an app password** for your Gmail account and **copy** it. You can do this by going to your **account settings** and **clicking on Security** > **App passwords**.&#x20;

insert

4. Select **Mail** as the app and Other as the device, and enter a name for your **SMTP server account**, such as **Chatman SMTP**.

insert

5. **Open Chatman** and go to **Settings** > **External** **Protocols** > **Applications**. Under **Custom** SMTP, tap on the **Connect** button.&#x20;

insert

6. A form will appear where you need to **enter the following SMTP settings**:

* Sender name: Your name or your business name
* Preview text: A short summary of your email message
* Mail from: Your Gmail address, such as <yourname@gmail.com>
* Server: smtp.gmail.com
* Login: Your Gmail address, such as <yourname@gmail.com>
* Password: Your Gmail app password that you copied in step 2
* Port: 465 or 587

insert

7. After entering the SMTP settings, tap on the Send test mail button to verify that your SMTP server account is working properly.&#x20;

insert

8. You should receive a test email from Chatman in your inbox. If you don’t receive the test email, check your spam folder or your SMTP settings for any errors.

insert

Congratulations, you have successfully created a SMTP server account using Gmail to integrate with Chatman. You can now use Chatman to send emails using your Gmail SMTP server. You can also edit or delete your SMTP server account from the **Settings** > **External** **Protocols** > **Applications**.

## Email Notification Configuration:

Send an email notification of any important events to the customers upon the trigger of any specific event. Use this facility while making your conversation journey. The option is available in the utility card section of the Journey Tab.

{% content-ref url="/pages/xLcRtrk1HwM0PirW0tkc" %}
[Utility Cards](/chatman-enterprise-whatsapp-platform/chatman-functions/journeys/utility-cards.md)
{% endcontent-ref %}


---

# Agent Instructions: 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:

```
GET https://docs.makerobos.com/chatman-enterprise-whatsapp-platform/settings/external-protocols/applications/smtp-email.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
