---
title: Gmail
description: Connect your Gmail to SurfSense
---

# Gmail Connector

Index your Gmail emails and make them searchable.

## Prerequisites

- A Google account
- Google OAuth configured in SurfSense (see [Prerequisites](/docs))
- Gmail API enabled in Google Cloud Console

## Setup

1. Navigate to your Search Space settings
2. Click on **Add Connector**
3. Select **Gmail** from the list
4. Authorize SurfSense to access your Gmail
5. Configure which labels/folders to index

## What Gets Indexed

- Email content
- Email attachments
- Thread conversations
- Labels and categories

## Sync Frequency

The Gmail connector supports scheduled syncing to keep your emails indexed.

