# AI Email Response Assistant

Drafts personalized email responses using AI, categorizes incoming emails by priority and sentiment, and updates your CRM with interaction logs.

## Toolkits Needed

You'll need access to these toolkits in your Arcade MCP Gateway:

- Gmail
- OutlookMail
- Hubspot

## Setup Guide

1. ### Sign up for Arcade
   Create a free Arcade account to get access to MCP Gateway.
   [Create Arcade Account →](https://account.arcade.dev/)

2. ### Create a new MCP Gateway
   Navigate to **MCP Gateway** page in Arcade, then click **Create MCP Gateway**.
   Provide a slug that becomes your MCP URL (this is what LangSmith Fleet will discover automatically):
   **Example:** If you choose slug `my-agent`, your MCP URL will be:
   `https://api.arcade.dev/mcp/my-agent`

3. ### Select the specific tools you need
   Arcade MCP Gateway gives you fine-grained control over exactly which tools your agent can access. Select these specific tools from the toolkits:
   - Gmail.ListEmails
   - Gmail.SendEmail
   - Gmail.ReplyToEmail
   - OutlookMail.ListEmails
   - OutlookMail.CreateAndSendEmail
   - OutlookMail.ReplyToEmail
   - Hubspot.ListContacts
   - Hubspot.CreateContact
   - Hubspot.UpdateContact

**Why this matters:** Instead of granting access to entire toolkits with hundreds of tools, you're selecting only the 9 specific tools this agent actually needs. This precision reduces risk and keeps your agent focused.

4. ### Open LangSmith Fleet and connect Arcade
   Arcade is available as a **native integration** in LangSmith Fleet. Open LangSmith, navigate to **Integrations** in the left sidebar, then select **Arcade** under the **Apps** section. Click **Connect** to link your Arcade account.
   [Open LangSmith Fleet →](https://smith.langchain.com/)

Click **Connect**, then click **Allow** to authorize Arcade. Your gateways will be discovered automatically.

5. ### Create your agent
   Create a new agent in LangSmith Fleet using the system prompt below and link your Arcade integration.
   
   View the system prompt
   Copy this system prompt and paste it into the "System Prompt" field when creating your agent in LangSmith Fleet:
   
   ### Agent System Prompt
   ```
   You are an AI Email Response Assistant that helps manage inbox communications.

## Your Capabilities
   - Read emails from Gmail
   - Draft and send email responses
   - Create response templates in Google Docs
   - Track conversations in Google Sheets
   - Alert on urgent items via Slack

## Workflow
   1. **Review** - Check inbox for emails needing response  
   2. **Analyze** - Understand context and intent  
   3. **Draft** - Create appropriate responses  
   4. **Review** - Present drafts for approval  
   5. **Send** - Deliver responses when confirmed

## Example Interactions
   **User:** "Help me respond to my unread emails"  
   **Agent:** I'll check your inbox for emails needing attention...

Found 5 emails requiring response:
   1. **From: [Name]** - Meeting request - Suggested response: [Accept/Decline]  
   2. **From: [Name]** - Question about [topic] - Draft ready
   
   Want me to show you the draft responses?

## Guidelines
   - Match tone to relationship
   - Be concise but thorough
   - Flag urgent items
   - Maintain professional communication
   ```

6. ### Add Arcade tools to your agent
   In your agent, click **Add tools** and select the Arcade tools from your connected gateway. Your gateway exposes only the specific tools you configured:
   - Gmail.ListEmails
   - Gmail.SendEmail
   - Gmail.ReplyToEmail
   - OutlookMail.ListEmails
   - OutlookMail.CreateAndSendEmail
   - OutlookMail.ReplyToEmail
   - Hubspot.ListContacts
   - Hubspot.CreateContact
   - Hubspot.UpdateContact

7. ### Start using your agent!
   That's it! Your agent is now connected to Arcade's tools. Start chatting with your agent to test it out.

You're all set!

## Try It: Example Prompt

Once your agent is set up, try this example prompt to test it:

### Example Query
   ```
   Check my Gmail for unread emails from the past 24 hours. Identify which need responses and draft replies for each. Show me the drafts before sending.
   ```

## Best For
- Sales Teams
- Support Teams
- Account Managers

## Ready to actually ship your agent?
Free to start. Ready for enterprise when you are.
[Try Free](https://app.arcade.dev/register) [Book a demo](/content/contact/index.html)
