# Gmail

The Gmail integration allows you to connect your Google Mail account as a data source in JetAdmin. Once connected, you can view and query Gmail data like Messages, Labels, Drafts, and Threads, and run email-related actions such as adding labels, archiving, or forwarding messages.\
This makes it easy to integrate your email workflow directly into your JetAdmin apps, agents and automations.

#### Steps

1. **Go to Data Settings:**\
   In your JetAdmin app, open **Data → Add Resource**.
2. **Select Gmail:**\
   From the list of available data sources, choose **Gmail**.
3. **Name your resource (optional):**\
   Give your Gmail connection a custom name such as *Support Inbox* or *Sales Emails*.
4. **Sign in to Google:**\
   A pop-up window will appear. Sign in with your Google account and grant JetAdmin access to your Gmail data.
5. **Complete the connection:**\
   After a successful connection, JetAdmin automatically imports four main collections and several inbox-related actions.

{% @arcade/embed flowId="gZZEXloRwF0qSTyXas2R" url="<https://app.arcade.software/share/gZZEXloRwF0qSTyXas2R>" %}

{% hint style="info" %}
**Data & Actions Overview**\
Once connected, JetAdmin gives you access to core Gmail data collections such as Drafts, Labels, Messages, and Threads allowing you to view, search, and organize your email data.

You’ll also gain access to built-in actions for managing your inbox, such as Add Labels, Archive Messages, Forward Message, Get Profile, Get Attachment, and many more. These actions let you automate or directly control Gmail operations from within JetAdmin app.
{% endhint %}


---

# 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.jetadmin.io/user-guide/integrations/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.
