# Move IMAP Mail

This activity moves an IMAP mail message from a user specified folder to another folder within the user's account.

### Email Configuration

* **Email Id:** [`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#string) ![](https://1935494318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M927xRZSEM57y2sBcm3%2Fuploads%2Fgit-blob-20e90e25afa096ee0833e242a7763776d12b4591%2Fimage.png?alt=media)\
  The email account used to move the message.\\
* **Password:** [`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#string) ![](https://1935494318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M927xRZSEM57y2sBcm3%2Fuploads%2Fgit-blob-20e90e25afa096ee0833e242a7763776d12b4591%2Fimage.png?alt=media)\
  The password of the email account used to move the message.\\
* **From Folder:** [`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#string) ![](https://1935494318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M927xRZSEM57y2sBcm3%2Fuploads%2Fgit-blob-20e90e25afa096ee0833e242a7763776d12b4591%2Fimage.png?alt=media)\
  The mail folder from which the mail messages are to be moved.\\
* **Mail Folder:** [`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#string) ![](https://1935494318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M927xRZSEM57y2sBcm3%2Fuploads%2Fgit-blob-20e90e25afa096ee0833e242a7763776d12b4591%2Fimage.png?alt=media)\
  The mail folder to which the mail messages are to be moved.

### Server Configuration

* **Server:** [`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#string) ![](https://1935494318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M927xRZSEM57y2sBcm3%2Fuploads%2Fgit-blob-20e90e25afa096ee0833e242a7763776d12b4591%2Fimage.png?alt=media)\
  The email server host that is to be used.\\
* **Port:** [`Integer Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#integer)\
  The port used to get the email message.\\
* **Secure Connection:**\
  Specifies the SSL and/or TLS encryption to be used for the connection.The following are the available options.
  * `Auto` - Allows the IMailService to decide which SSL or TLS options are to be used . `Default`
  * `None` - No SSL/TLS encryption is used.
  * `SslOnConnect` - Uses SSL/TLS encryption immediately.
  * `StartTls` - Uses the TLS encryption immediately after reading the greeting and capabilities of the server. If the server does not support the StartTLS extension, the connection fails.
  * `StartTlsWhenAvailable` - Allows the usage of TLS encryption immediately after reading the greeting and capabilities of the server only if the server supports StartTLS.

### Options

* **Enable SSL:** `Optional`
  * `True` - The activity will use SSL for sending the message.
  * `False` - The activity wont use SSL for sending the message. `Default`


---

# 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.visualyze.ai/rpa-studio/application/mail/move-imap-mail.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.
