# Connecting Email via IMAP/SMTP

> How to connect your email inbox to Yasan using IMAP and SMTP.

URL: https://help.yasan.ai/en/connecting-email-via-imap-smtp/
Updated: 2026-05-29

If you use a non-Gmail email provider or a custom domain, you can connect your support inbox to Yasan using standard IMAP and SMTP credentials.

## Step-by-Step Instructions

**1. Open Integrations settings**

Navigate to **Settings > Integrations** in the Yasan sidebar.

**2. Select Email**

Click **Connect integration** and select **Email**.

**3. Choose IMAP/SMTP**

Choose the **Email • IMAP/SMTP** option.

**4. Fill in your credentials**

Fill in the required credentials:
- **Email address**: The support email address (e.g., support@example.com).
- **Sender name**: The name displayed to customers.
- **IMAP Server & Port**: Your provider's incoming mail server details.
- **SMTP Server & Port**: Your provider's outgoing mail server details.
- **Password**: Your email password or an app-specific password if required by your provider.

**5. Test the connection**

Click **Test connection** to verify that Yasan can successfully connect to both incoming and outgoing servers.

**6. Save the integration**

Once the test is successful, click to save the integration.

![IMAP/SMTP settings](https://help.yasan.ai/help/connecting-email-via-imap-smtp/imap-smtp-settings.en.png)

*Form for entering IMAP and SMTP details*

## Sender Name Customization

You can use the `{operatorName}` placeholder in your sender name to personalize outgoing emails. 
For example, entering `{operatorName} from Your Company` will dynamically insert the name of the operator handling the conversation.

## Troubleshooting

- **Connection failed**: Verify that your IMAP/SMTP server addresses, ports, and password are correct. 
- **Two-Factor Authentication**: If your email provider uses 2FA, you may need to generate an "app password" specifically for Yasan.

## Related Articles

- [Connecting Gmail](https://help.yasan.ai/en/connecting-gmail/)
- [Connecting Outlook](https://help.yasan.ai/en/connecting-outlook/)