> For the complete documentation index, see [llms.txt](https://docs.tailent.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tailent.com/getting-started/tap-studio/outlook-vs-standard-imap-protocol.md).

# Outlook vs standard IMAP protocol

A frequent question we receive regarding our IMAP activities [Get Email Message](/actions/tap-actions/mail/get-email-messages.md) and [Move Email Message](/actions/tap-actions/mail/move-mail-message.md)

is why we face the error "could not fetch mail from server " even if we follow the tooltip guidance - INBOX.FolderName.

![](/files/-MT5gEnSt5rRsCOAdTV5)

For instance, in the example below, the configuration is normally correct, however, when running the workflow, we face the error message.

![](/files/-MT5gEnVCUteWk50IzB8)

That is because in Outlook, users can create folders at the same level as Inbox (like in this case InvoicesUNprocessed and InvoicesProcessed).

![](/files/-MT5gEnWjUpAU5_Ml72O)

So the correct configuration is:

![](/files/-MT5gEnXjFVoxn60rMY-)

Secondly, let's take the case of folder "test1", which was created under inbox.

In Thunderbird:

![](/files/-MT5gEnYoRa2sa2MC0FI)

If the robot would connect to Thunderbird to retrieve info about emails from folder test1, the value of the field Folder Name must be **INBOX.test1**.

In Outlook:

![](/files/-MT5gEnZllQYxiZ775cI)

But if the robot would connect to Outlook to retrieve info about emails from folder test1, the value of the field Folder name must be **INBOX/test1** instead of INBOX.test1, as it can be seen also below:

![](/files/-MT5gEn_Tmr4qXDbAVLN)


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.tailent.com/getting-started/tap-studio/outlook-vs-standard-imap-protocol.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
