# activate IMAP

**How to enable IMAP on Gmail?**

Set up IMAP for Gmail:

To connect Gmail to TicketFlow, you need IMAP. Follow the steps below to enable IMAP for your Gmail account:

Go to this link: <https://mail.google.com/mail/u/5/#settings/fwdandpop>                                     **Important:** Make sure you are using the same Gmail account that is registered with Viagogo.

After logging in, click on the settings wheel in the top right corner and select "Forwarding POP/IMAP". You should see a screen similar to the following:&#x20;

<figure><img src="/files/ZLRnjBZtUFQrV9w3df1u" alt=""><figcaption></figcaption></figure>

In this view, check '**Enable POP for all mail**' and '**Enable IMAP**'.&#x20;

**IMPORTANT:** Don't forget to click "Save" at the bottom to save your settings.&#x20;

<figure><img src="/files/yZU0E9aF4coY4liCSS85" alt=""><figcaption></figcaption></figure>

\-----------------------------------------------------------------------------------------------------

**Important with Gmail:**

If you're using Gmail, it's important to note that the password you need isn't the generic Gmail password. Instead, you'll need to create an "**app password**" to connect Gmail to TicketFlow. This app password will allow you to access your Gmail account without revealing your main password.

**Create an app password in Gmail:**

An app password is a special password that you can use to access your Gmail account from third-party apps like TicketFlow. Here are the steps to create an app password in Gmail:

1. Sign in to your Gmail account: Go to <https://mail.google.com/> and sign in to your Gmail account if you haven't already done so.&#x20;
2. Access your security settings: Click on your profile picture in the top-right corner of the Gmail window and select "Manage Google Account" from the drop-down menu.&#x20;
3. Scroll down to the security settings: Select 'Security' from the menu on the left.&#x20;
4. Enable two-factor authentication (if not already on): If you haven't already enabled two-factor authentication, we recommend that you do so to increase the security of your account. You can set it up under "Two-factor authentication for your Google Account.&#x20;
5. Application passwords: Under the "Signing in to Google" section, you'll find the "Application passwords" option. Click "Manage application passwords.&#x20;
6. Confirm sign-in again: You will be prompted to sign in to your Gmail account again to confirm your identity.&#x20;
7. Create an app password: After signing in again, you will be taken to the App Passwords page. Here you can create an app password by selecting the app you want to create the password for from the drop-down menu. In this case, select "Other (Custom)".&#x20;
8. Generate password: Click "Generate. Google Mail will generate a random password.&#x20;
9. Save App Password: Write or copy the generated password. This password will be needed when you connect Gmail to a third-party application such as TicketFlow.&#x20;
10. Use the app password: Go to TicketFlow and enter the generated app password instead of your regular Gmail password when prompted.

{% code overflow="wrap" %}

```
What is IMAP?

IMAP stands for Internet Message Access Protocol and is a protocol used to retrieve
and manage email on an email server. Unlike the POP3 protocol, which downloads emails
to your local computer and then deletes them from the server, IMAP allows you to read,
organise and synchronise emails on different devices without deleting them from the
server.
```

{% endcode %}


---

# 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://ticketflow.gitbook.io/guide/user-account-and-login/accounts/add-marketplaces/activate-imap.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.
