# Mail authentication

> Connect UiPath to mail servers by providing server address, port, email account, and password credentials for SMTP, IMAP, or POP3 access.

## Prerequisites

To create a connection, you need the following credentials:

* Server address - The email server host that is to be used.
* Port - The necessary port to access the email server for the respective protocol.
* Email - The email account to connect to.
* Password - The password of the email account used.

## Add the Mail connection

1. Select Orchestrator from the product launcher.
2. Select a folder, and then navigate to the **Connections** tab.
3. Select **Add connection**.
4. To open the connection creation page, select the connector from the list. You can use the search bar to find the connector.
5. Select the authentication type: IMAP Username and Password, or SMTP & POP3 Username and Password.
6. Enter the required credentials. Additionally, configure the following fields:
   1. **Ignore Certificate Revocation List** - Specifies whether to ignore the Certificate Revocation List validation when connecting.
   2. **Secure connection** - Specifies the SSL and/or TLS encryption to be used for the connection.
7. Select **Connect**.

   Where available, select the menu next to a field and choose **Use credential asset** or **Use Orchestrator asset** to reference an Orchestrator asset instead of entering the value directly. For more information, see [Use credential assets for connections](credential-store-connections.md).
