# IMAP Accounts

Some sites will send a code to your email during checkout. **IMAP** allows Valor to scan your incoming emails and automatically find and enter that code into your tasks, speeding up the checkout process. Click the **MAP Accounts** card on the Misc page to go to that page.

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

To begin, click the blue **Add** icon in the top left corner. This will open a window where you can add your IMAP settings.

* **IMAP Server:** Enter your email provider’s IMAP server. This will default to `imap.gmail.com` for Gmail accounts.
* **Username:** Enter your full email address.
* **Account/App Password:** Enter your email password or app password. For Gmail and some other providers, you must use an app password instead of your normal password.

For Gmail, you must use an **App Password** to set up IMAP.

Follow this official guide from Google:\
<https://support.google.com/accounts/answer/185833>

Steps:

1. Make sure **2-Step Verification** is enabled on your Google account.
2. Go to the App Passwords page in your Google account.
3. Create a new app password (you can select “Mail” and “Other”).
4. Copy the generated password and use it in Valor under **Account/App Password**.

If you prefer a video guide, you can click [here](https://www.youtube.com/watch?v=E-NvBfj4NUQ).

<figure><img src="/files/1NhJkgmqYLX8KCyhT1i2" alt=""><figcaption></figcaption></figure>

Once finished, click **Create**, and your IMAP account will be added. After adding your IMAP account, it should show **Connected** in the connection column and **Waiting For Emails** in the status column. The image below uses invalid information as an example, so it shows **Disconnected** instead.

<figure><img src="/files/6UuP1PXEXwUeLTnrPrwY" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you have multiple email accounts, it is recommended to set up email forwarding to one main account and add IMAP for that account. To learn how to forward emails, click [here](https://support.google.com/mail/answer/10957?hl=en).
{% 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.valoraio.com/misc/imap-accounts.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.
