# Gmail

You can connect your Gmail account to your app and send emails through it.

### Installing Gmail plugin

Select an app you wish to add your Gmail account to. Go to the **Plugins** section. Choose the Gmail plugin and type in your email address and password.

![](/files/7YBv5CggljSf68xHoTBe)

{% hint style="warning" %}
**NOTE!**

You have to generate **an app password** within your **Google account!**
{% endhint %}

To do this, just follow these simple steps:

1. Login into your Google account
2. Click on Manage your Google Account&#x20;
3. Go to the Security tab - Signing in to Google
4. Turn ON 2-step verification
5. Click **App passwords**
6. Generate a new password

![](/files/3CY0vgHuGpRVEiVuNkCI)

![](/files/KKLskXvPhoDK2QcXrazq)

7\. Use the **GENERATED PASSWORD** and your email address when installing the Plugin.

<figure><img src="/files/8mx8TO19sTJm4x278nMd" alt=""><figcaption></figcaption></figure>

### Sending email from scenarios

Since you installed Gmail plugin, you can use Email step in your scenarios:

![](/files/w6LNMkOFwf82D37xLoMO)

### Data Structure

You can find a system data structure with all the information about emails sent: `Root/Integrations/Email/Sent emails(MailLog)`


---

# 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://readme.directual.com/api-integrations/other-integrations/email/gmail.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.
