> For the complete documentation index, see [llms.txt](https://missiveapp.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://missiveapp.com/docs/core-features/connected-accounts/email-accounts/gmail-google-workspace/using-gmail-smart-categories.md).

# Using Gmail smart categories

Use Gmail categories (Primary, Social, Promotions) with Missive.

Gmail's smart categories (Primary, Social, Promotions, Updates, Forums) don't sync to third-party apps like Missive. But you can recreate this behavior using Gmail filters to keep your Missive inbox focused on important emails.

## The approach

Create Gmail filters that automatically move categorized emails to labels. These labels sync to Missive, giving you the same inbox separation Gmail provides.

<div data-with-frame="true"><figure><img src="https://3242897856-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1If7JwIQhfz5wGM9LiIU%2Fuploads%2Fgit-blob-508cede8dff910001782983be010bcbcfca57231%2Fguides-gmail-rules.png?alt=media" alt="Gmail rules" width="375"><figcaption></figcaption></figure></div>

**Example setup:**

* Promotions + Social → **Ads & Social** label
* Updates + Forums → **Feeds** label

Your primary emails stay in your inbox. Everything else goes to these secondary labels.

## Setup

{% stepper %}
{% step %}
**Create the Ads & Social label in Gmail**

1. Open [Gmail](https://mail.google.com)
2. In the left sidebar, scroll down and click **+ Create new label**
3. Name it **Ads & Social**

<div data-with-frame="true"><figure><img src="https://3242897856-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1If7JwIQhfz5wGM9LiIU%2Fuploads%2Fgit-blob-fc9beccd587ab49cb1fe07305251e827aca82c28%2Fguides-gmail-create-ads-label.png?alt=media" alt="Create label in Gmail" width="563"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**Create a filter for promotions and social**

1. In the Gmail search bar, type:

   ```
   (category:promotions OR category:social)
   ```
2. Click the dropdown arrow on the right side of the search bar
3. Click **Create filter**

<div data-with-frame="true"><figure><img src="https://3242897856-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1If7JwIQhfz5wGM9LiIU%2Fuploads%2Fgit-blob-cb079bc9e1d6e3b0af15f5029556bce0babecc44%2Fguides-gmail-create-filter.png?alt=media" alt="Create filter in Gmail" width="563"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**Configure the filter**

Check these options:

* **Skip the Inbox (Archive it)**
* **Apply the label:** Ads & Social
* **Also apply filter to matching conversations** (optional, to apply retroactively)

Click **Create filter**.

<div data-with-frame="true"><figure><img src="https://3242897856-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1If7JwIQhfz5wGM9LiIU%2Fuploads%2Fgit-blob-0e48747c416b4704e6eafd6e8e900c7cd0207dc2%2Fguides-gmail-setup-filter.png?alt=media" alt="Filter settings" width="563"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**Create the Feeds label**

Repeat step 1 to create a label named **Feeds**.
{% endstep %}

{% step %}
**Create a filter for updates and forums**

Repeat steps 2-3 with this search:

```
(category:updates OR category:forums)
```

Apply the **Feeds** label instead.
{% endstep %}

{% step %}
**Pin the labels in Missive**

In Missive, the new labels appear in your mailbox list. Pin them to your sidebar for quick access:

1. Find the label in your mailbox list
2. Right-click and select **Pin to sidebar**

<div data-with-frame="true"><figure><img src="https://3242897856-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1If7JwIQhfz5wGM9LiIU%2Fuploads%2Fgit-blob-1ddb9b2780165618462560536e8227137eca7bf9%2Fguides-gmail-pinned-updates-promos.png?alt=media" alt="Pinned labels in Missive" width="375"><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}

## Result

Your inbox now only receives primary emails. Promotions, social updates, newsletters, and forum notifications go to their respective labels. Check them when you want, not when they arrive.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://missiveapp.com/docs/core-features/connected-accounts/email-accounts/gmail-google-workspace/using-gmail-smart-categories.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
