> ## Documentation Index
> Fetch the complete documentation index at: https://user-docs.seaticket.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Email

The **Email connection** allows you to connect external mailboxes and sync emails into SeaTicket.

This guide uses Gmail as an example.

## Before You Start

Ensure you have the following:

* An app password if required by your provider (recommended for Gmail)

## Creating an Email Connection

1. Go to **Connections** in the left sidebar.
2. Click **+ New Connection**.
3. Select **Emails** as the connection type.
4. Click **Next**.
5. Enter the required configuration details.
6. Click **Submit** to complete the setup.

### Basic Information

* **Connection name**\
  A name to identify this connection (for example, *Gmail Support Inbox*).
* **Server provider**\
  Select the appropriate authentication mode for your email provider.
* **From display name** *(optional)*\
  The sender name displayed in outgoing emails.
* **From address** *(optional)*\
  The email address used as the sender.

### Server Settings

* **SMTP host**\
  Example: `smtp.gmail.com`
* **IMAP host** *(optional)*\
  Example: `imap.gmail.com`

### Authentication

* **Username**\
  Your full email address.
* **Password**\
  Your Gmail App Password.\
  [Refer to Google's official guide for instructions on generating an app password](https://support.google.com/accounts/answer/185833?hl=en).

### Sync Settings

* **Only sync emails sent within the following number of years**\
  Limits how far back SeaTicket retrieves historical emails.

<Frame>
  <img src="https://mintcdn.com/seacloud-labs/P273-RPgjYaMnI7f/images/image-253.png?fit=max&auto=format&n=P273-RPgjYaMnI7f&q=85&s=cc82a0c77b77c7953f1144a756a3b0b5" alt="Image" width="1907" height="869" data-path="images/image-253.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/seacloud-labs/P273-RPgjYaMnI7f/images/image-245.png?fit=max&auto=format&n=P273-RPgjYaMnI7f&q=85&s=160f49162dbd2baef48fc5df5fb493e4" alt="Image" width="563" height="723" data-path="images/image-245.png" />
</Frame>

## After Connection

Once the connection is created:

* SeaTicket starts syncing emails automatically
* Emails are displayed in a list view
* New emails continue to sync based on the connection settings

<Frame>
  <img src="https://mintcdn.com/seacloud-labs/P273-RPgjYaMnI7f/images/image-243.png?fit=max&auto=format&n=P273-RPgjYaMnI7f&q=85&s=6a44e77f65ef4e1237fce9c0d373a358" alt="Image" width="1887" height="782" data-path="images/image-243.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/seacloud-labs/4TyNjwQahwpPq75X/images/image-263.png?fit=max&auto=format&n=4TyNjwQahwpPq75X&q=85&s=2b412697698048499bd59de4e5bb3ce9" alt="Image" width="1856" height="787" data-path="images/image-263.png" />
</Frame>

## Synced Email Data

For each email, SeaTicket records:

* Subject
* Last modified time
* Unread status

AI-generated summaries are also available for each email:

* AI summary
* AI processed time

<Tip>
  Emails are automatically synced every 1 hour.

  Initial synchronization may take time depending on mailbox size

  Ensure your email provider allows IMAP/SMTP access

  If synchronization fails, check authentication settings or server configuration
</Tip>

## Viewing Details

After data has been synced, click on an item's title to view its full content.

**Emails**: View the complete email thread, including all replies and conversation history.

<Frame>
  <img src="https://mintcdn.com/seacloud-labs/VpSMHVL7sZs2hr1x/images/image-264.png?fit=max&auto=format&n=VpSMHVL7sZs2hr1x&q=85&s=cc1b31bd91723aca5d436843556a259a" alt="Image" width="1645" height="715" data-path="images/image-264.png" />
</Frame>
