# Answer customer emails with your AI agent > Turn on the Email channel so your AI agent reads customer emails and replies from your support address The Email channel lets your QwryAI agent answer customer emails. Customers write to your agent's email address, or to your own support address that forwards to it, and the agent replies in the same thread, using the same knowledge, instructions and Actions as your other channels. Every email thread appears in your **Inbox**, where your team can read it and take over. ## Before you start * A QwryAI account with an agent. * The agent's email address turned on under **Settings › Email**. See [Email settings](/docs/user-guides/chatbot/email-settings). * To reply from your own address, such as `support@yourstore.com`: that address added, forwarded and verified in [Email settings](/docs/user-guides/chatbot/email-settings). ## How Email integration works 1. A customer emails your agent's address, or your own address that forwards to it. 2. QwryAI checks whether the email should get an answer (see [Emails the AI agent doesn't answer](#emails-the-ai-agent-doesnt-answer)). 3. The agent writes a reply and sends it in the same thread, after any **Reply delay** you set. 4. The thread appears in your **Inbox**. Replies from the customer continue the same conversation. ### Who the AI agent replies to The agent replies to the person who sent the email. When the email has a **Reply-To** on the sender's own company domain, and the email passed authentication, the agent replies to that address instead. The reply goes out from the address the customer wrote to if it's one of your **Reply addresses**. Otherwise it goes out from the first address in that list, or from the agent's built-in address if the list is empty. ### Emails the AI agent doesn't answer These emails are saved to the conversation, but get no AI reply: * Emails from **Blocked senders**. * Automatic emails: out-of-office and other auto-replies, bounces and delivery reports, mailing lists and bulk mail, and emails from no-reply or notification addresses. * Emails sent from your own reply addresses, or by QwryAI itself. * Suspected spam, when **Spam detection** is on. * Any email while the Email channel isn't deployed, or while a teammate has taken over the conversation. > [!NOTE] > > If the agent sends 4 automatic replies to the same contact within 10 minutes, QwryAI pauses the AI in that conversation, because it looks like a loop with another automated mailbox. The thread shows why, and new emails wait for your reply until you select **Resume AI**. ## How to connect Email **1. Turn on the agent's email address** Open your agent's **Settings › Email**. If the agent doesn't have an address yet, select **Enable** under **Agent email address**. Until it does, the **Setup** button on the Email card stays disabled and says *You need to enable settings to setup the email channel.*, with an **Enable emails** link to this tab. ![The Email tab in the agent's Settings with the Agent email address section.](annotated/01-email-settings.webp "Settings › Email.") **2. Open the Email channel** Open **Channels** and select **Setup** on the **Email** card. Once the agent has an address, the button reads **Manage**. ![The Email card on the Channels page, Connect your agent to an email address and let it respond to messages from your customers., with the pointer on Manage.](annotated/02-channels-card.webp "Channels › Email.") **3. Review the settings** The Email channel opens on its **Overview** tab, with a preview of a reply email on the right. Review the **Configuration** and **Signature** tabs, described below, and choose which Actions run on email on the **Actions** tab. ![The Email channel with its Overview, Configuration, Signature and Actions tabs, and a preview of a reply email.](annotated/03-overview.webp "The Email channel and its email preview.") **4. Deploy** Select **Deploy**. QwryAI shows *Email channel enabled.* and the agent starts answering emails. Your reply addresses must be verified before you can deploy. > [!TIP] > > Test it by sending an email from your own mailbox to the agent's address, then check the reply and the new conversation in **Inbox**. ## Settings All settings are on the **Configuration** tab, except the signature. Select **Save changes** after changing them. ![The Configuration tab with Reply addresses, Deliverability alert contact, Blocked senders and Email display name.](annotated/04-configuration.webp "Configuration › Reply addresses and senders.") ### Reply addresses The addresses the agent replies from. The agent uses the address the email was sent to if it's in the list, otherwise the first address. Add addresses in [Email settings](/docs/user-guides/chatbot/email-settings) first. > [!WARNING] > > Addresses on free email providers such as Gmail, Outlook.com or Yahoo can't be added. Use an address on your own company domain. ### Deliverability alert contact The workspace member QwryAI alerts when an email the agent sent bounces or is marked as spam. Choose **None** to turn alerts off. ### Blocked senders Emails from these addresses are saved to the conversation but never get an AI reply. Type an address and press Enter to add it. > [!NOTE] > > Blocked emails still appear in the conversation, so your team can read them. ### Email display name The name customers see in the **From** field. Leave it empty to use your agent's name. ### Spam detection Turn on the **Spam detection** switch to have QwryAI use AI to check each email for spam. **Whitelisted senders** and **Spam instructions** appear once it's on. Suspected spam is saved to your **Inbox** without an automatic reply, and you can still reply to it from there. #### Spam instructions What counts as spam for this agent. QwryAI fills in a default you can edit, up to 10,000 characters. For example, add a line for the cold sales pitches your support address keeps getting. ![The Spam detection section with its switch and description.](annotated/05-spam.webp "Spam detection.") #### Whitelisted senders Emails from these addresses always get a reply and skip spam detection. Add your partners or your own test address here. > [!TIP] > > Edit **Spam instructions** when real customer emails get held as spam, or when spam keeps getting replies. ### Reply delay Wait before sending AI replies, so responses feel less instant. Set **0** to send right away, up to a maximum of 60 minutes, in **Seconds** or **Minutes**. ![Reply delay set in seconds or minutes, and the AI composition disclaimer with its text.](annotated/06-reply-delay.webp "Reply delay and AI composition disclaimer.") If a teammate takes over a conversation while a delayed reply is still waiting, QwryAI asks first: *An AI reply is still waiting to send*. **Take over anyway** cancels the waiting reply so the customer never receives it. **Keep waiting** leaves it to send. > [!NOTE] > > **Reply delay** applies to AI replies only. Your team's replies from **Inbox** go out straight away. ### AI composition disclaimer Adds a note to the end of each AI reply to show it was written by AI. It's on by default with the text *This response was composed by AI.*, which you can change. ### Email signature On the **Signature** tab, turn on **Email signature**; an editor appears where you write the signature that appears at the bottom of every email your agent sends. You can format it, add links and images. ![The Signature tab with the Email signature switch and its description.](annotated/07-signature.webp "Signature › Email signature.") ## Attachments The agent reads files customers attach, up to 5 per email: | Type | Limit | | - | - | | PDF | 5 MB, up to 5 pages | | Images: JPG, PNG, WebP, GIF | 5 MB each | | Documents: DOCX, XLSX, CSV, TXT, Markdown, JSON, ZIP | 5 MB each | | Audio: MP3, WAV, M4A, OGG, WebM | 16 MB each | Other files stay on the email in your **Inbox** but aren't passed to the agent. ## Message credits Each AI reply uses message credits, like a reply on any other channel. Emails that get no reply, such as blocked senders, auto-replies and spam, don't use credits for a reply. ## Common use cases * **Support inbox:** forward `support@yourstore.com` to your agent so it answers order, shipping and returns questions around the clock. * **Escalation by email:** let the agent answer first and create a ticket with the [Escalations](/docs/user-guides/chatbot/actions/escalate-to-human) Action when a person is needed. * **Lead follow-up:** answer pre-sales questions and capture details with [Collect leads](/docs/user-guides/chatbot/actions/collect-leads). ## Limitations * The agent replies in the thread it received. It doesn't start new email threads, except from [Outbound](/docs/user-guides/chatbot/outbound-campaigns) campaigns. * Addresses on free email providers such as Gmail, Outlook.com or Yahoo can't be used as reply addresses. * At most 5 attachments per email are read. ## Frequently asked questions > [accordion] Can I use my own support address? > > Yes. Add it in [Email settings](/docs/user-guides/chatbot/email-settings), forward it to the agent's address, authenticate your domain, then add it to **Reply addresses**. > [accordion] Why didn't the agent answer an email? > > Check [Emails the AI agent doesn't answer](#emails-the-ai-agent-doesnt-answer). The conversation in **Inbox** shows the email even when no reply was sent. > [accordion] Can my team reply to emails? > > Yes. Open the conversation in **Inbox** and take over. Your reply goes out in the same thread. > [accordion] Can I see the email before it's sent? > > No. Use **Reply delay** to give your team time to take over before a reply goes out. ## Next steps > [card] Email settings | /docs/user-guides/chatbot/email-settings | Give your agent an address and send from your own domain. > [card] Inbox | /docs/user-guides/chatbot/activity | Read email threads and take over from the agent.