> ## Documentation Index
> Fetch the complete documentation index at: https://watermelon.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Publish on Email

Connect your Agent to the Email channel.

When you’ve created a Mail integration in Watermelon, you’ll need to connect your Agent to the email channel. This ensures your Agent can automatically reply to incoming emails.

You can publish your Agent on mail via the **Agent Profile** or via the **Activate tab**.

<Warning>
  Make sure you’ve set up the Email integration first in **Integrations → Mail** before connecting your Agent. This [documentation](/help-center/integrations/email) explains how.
</Warning>

## **Publishing via Agent Profile**

<Steps>
  <Step title="Open Agent settings">
    Open your **Agent**. Navigate to your AI Agent name underneath Behavior. Scroll down to **Select your channels**.

    <Frame>
      <img src="https://mintcdn.com/watermelon/iogrYFi2Y3iDupJG/images/agents-overview-1.png?fit=max&auto=format&n=iogrYFi2Y3iDupJG&q=85&s=0deced35af08ca55bcced74915ffc66a" alt="Connect Mail To Agent Settings" title="Connect Mail To Agent Settings" lightAlt="Connect Mail To Agent Settings" darkAlt="Connect Mail To Agent Settings" className="hidden dark:block" width="1440" height="703" data-path="images/agents-overview-1.png" />

      <img src="https://mintcdn.com/watermelon/iogrYFi2Y3iDupJG/images/agents-overview.png?fit=max&auto=format&n=iogrYFi2Y3iDupJG&q=85&s=d0d52310de3282a0c913c7bc0070a98f" alt="Connect Mail To Agent Settings" title="Connect Mail To Agent Settings" lightAlt="Connect Mail To Agent Settings" darkAlt="Connect Mail To Agent Settings" className="dark:hidden" width="1440" height="703" data-path="images/agents-overview.png" />
    </Frame>
  </Step>

  <Step title="Select email channel">
    **Select** the mail channel you want to **connect** and click **Save**.

    <Frame>
      <img src="https://mintcdn.com/watermelon/kcU3XhMnNVuBdnve/images/connect-mail-to-agent-settings.png?fit=max&auto=format&n=kcU3XhMnNVuBdnve&q=85&s=0b17b645972c8a127400d7e6e69fab56" alt="Connect Mail To Agent Settings" width="1440" height="700" data-path="images/connect-mail-to-agent-settings.png" />
    </Frame>
  </Step>

  <Step title="Email channel connected">
    Your Agent is now **connected** to the email channel.

    <Frame>
      <img src="https://mintcdn.com/watermelon/iogrYFi2Y3iDupJG/images/agents-overview-mail-connected.png?fit=max&auto=format&n=iogrYFi2Y3iDupJG&q=85&s=3260f31b51d3b5b701418ea7665562f8" alt="Agents Overview Mail Connected" width="1440" height="703" data-path="images/agents-overview-mail-connected.png" />
    </Frame>

    <Warning>
      Make sure your Agent is **Active**, otherwise it won’t reply to incoming emails.
    </Warning>
  </Step>
</Steps>

## **What happens next?**

Once your Agent is published on mail:

* Incoming emails will appear in your **Inbox**
* Your Agent will automatically reply (if enabled)
* You can still take over conversations manually

<Info>
  If your Agent is not active: Emails will still arrive in Watermelon, but they will **not be answered automatically**
</Info>
