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

# Email

> Configure email channel for inbound/outbound message handling.

## Setup

<Frame>
  <img src="https://mintcdn.com/phinite/KoQt-WwNIMd_FyyU/images/email.png?fit=max&auto=format&n=KoQt-WwNIMd_FyyU&q=85&s=49c5e0d6e492c92fd38ba3f6fdc533fc" alt="Email" width="2906" height="1808" data-path="images/email.png" />
</Frame>

<Steps>
  <Step title="Connect provider">
    Configure SMTP/IMAP or provider API.
  </Step>

  <Step title="Inbound routing">
    Route inbound emails to your channel endpoint.
  </Step>

  <Step title="Assistant mapping">
    Map inbound messages to assistants.
  </Step>
</Steps>

<Tip>
  Sanitize HTML and attachments before processing.
</Tip>
