Creating Email Assistants
Email assistants help automate your email communications by monitoring inboxes, understanding inquiries, and providing appropriate responses. This guide explains how to create, configure, and manage an email assistant in Flowbotic.Before You Begin
Before creating an email assistant, you should:- Identify which email address(es) the assistant will monitor
- Determine the types of emails the assistant should handle
- Prepare knowledge documents relevant to common inquiries
- Consider the tone and style appropriate for your brand’s emails
Creating a New Email Assistant
Step 1: Initiate Creation
- Navigate to the Assistants section in the sidebar
- Click the + Create Assistant button
- Select Email as the assistant type
- Click Continue
[Screenshot placeholder: Assistant creation screen with Email type selected]
Step 2: Basic Configuration
In the first section of the setup wizard:- Name: Give your assistant a descriptive name (e.g., “Support Email Assistant”)
- Description: Add a brief description of the assistant’s purpose
- Language: Choose the primary language for your assistant
The name you choose is for internal identification only; your email recipients will see the actual name configured in your email account settings.
Step 3: AI Model Configuration
Configure the AI model settings:-
Instructions: Write detailed instructions for how your assistant should handle emails:
- Specify the types of inquiries it should handle
- Define its tone and writing style
- Set guidelines for when to escalate to a human
- Include any specific company policies or procedures
-
Model: Select the AI model to power your assistant
- GPT-4: Best for complex, nuanced email communications
- GPT-3.5: Good for straightforward inquiries
-
Temperature: Adjust the creativity level (0.0-1.0)
- Lower values (0.2-0.4): More consistent, formal responses
- Higher values (0.6-0.8): More varied, conversational responses
[Screenshot placeholder: Model configuration screen for email assistant]
Example Email Assistant Instructions
Example Email Assistant Instructions
Step 4: Knowledge Base Connection
Connect relevant knowledge to your email assistant:- Click the Knowledge tab in the setup wizard
- Select files from your Knowledge Base to associate with this assistant
- Adjust the knowledge retrieval settings:
- Relevance Threshold: Set how closely content must match (0.0-1.0)
- Number of References: How many knowledge snippets to include
[Screenshot placeholder: Knowledge connection interface for email assistant]
Step 5: Email Account Connection
Connect your email account:- Click the Email Connection tab
-
Select your connection method:
- Direct IMAP/SMTP: Connect using server details and credentials
- Microsoft 365: Connect using OAuth
- Gmail: Connect using OAuth
-
For IMAP/SMTP connection, provide:
- IMAP Server and Port
- SMTP Server and Port
- Email Address
- Password or App Password
-
For OAuth connections:
- Click Connect Account
- Log in to your email provider
- Grant the required permissions
[Screenshot placeholder: Email connection configuration screen]
Step 6: Email Handling Rules
Configure how your assistant processes emails:- Monitored Folders: Select which email folders to monitor (Inbox, Support, etc.)
-
Email Filters: Create rules to determine which emails the assistant should handle
- By sender domain
- By subject line keywords
- By specific email addresses
-
Response Settings:
- Auto-Reply: Enable/disable automatic responses
- Reply Timing: Immediate or delayed responses
- CC/BCC Rules: Configure carbon copy behavior
- Signature: Set up your email signature
[Screenshot placeholder: Email rules configuration interface]
Step 7: Human Escalation
Configure when and how to escalate emails to human agents:-
Escalation Triggers:
- Specific keywords or phrases
- Confidence threshold
- Customer sentiment
- Number of email exchanges
-
Escalation Actions:
- Forward to specific team members
- Create a ticket in the ticketing system
- Add tags or categories
- Send notification to team
- Escalation Message: Customize the message sent to customers when their email is escalated
[Screenshot placeholder: Escalation configuration screen]
Step 8: Advanced Settings
Configure additional options:-
Attachment Handling:
- How to process incoming attachments
- Whether the assistant can send attachments
-
Language Detection:
- Automatically detect email language
- Route non-supported languages to human agents
-
Follow-up Behavior:
- Configure automatic follow-ups for unresolved issues
- Set follow-up timing and messaging
Step 9: Finalize Creation
- Review all settings across the different tabs
- Click Create Assistant to save your configuration
- You’ll be redirected to the assistant details page
Testing Your Email Assistant
Before fully deploying your email assistant:- On the assistant details page, click the Test tab
- Send a test email to the connected email address
- Observe how the assistant processes and responds
- Verify that knowledge retrieval is working correctly
- Test escalation scenarios
[Screenshot placeholder: Email testing interface with sample email thread]
Monitoring Email Performance
Once your email assistant is active:- Navigate to the Analytics tab on your assistant’s page
-
Review key metrics:
- Response time
- Resolution rate
- Escalation rate
- User satisfaction (if feedback is enabled)
- Examine specific email threads to evaluate response quality
- Use filters to focus on specific time periods or email categories
[Screenshot placeholder: Email assistant analytics dashboard]
Best Practices
Email-Specific Instructions
- Include guidance on email formatting (greetings, paragraphs, sign-offs)
- Specify how to handle attachments and links
- Define appropriate tone for different types of inquiries
- Include examples of good email responses
Managing Email Flow
- Start with limited email traffic until you’ve validated performance
- Use specific folders or filters for initial deployment
- Gradually expand to handle more email categories
- Regularly review escalated emails to improve instructions
Compliance Considerations
- Ensure your assistant complies with email regulations (CAN-SPAM, GDPR, etc.)
- Include appropriate legal disclaimers in emails
- Configure proper handling of sensitive information
- Maintain records of email communications as required
Troubleshooting
Authentication Errors
Authentication Errors
If your email connection fails:
- Verify server details and credentials
- Check that IMAP/SMTP is enabled on your email account
- For Gmail, ensure “Less secure app access” is enabled or use App Passwords
- For Microsoft 365, verify that the appropriate API permissions are granted
Email Not Being Processed
Email Not Being Processed
If emails aren’t being processed:
- Check that the correct folders are being monitored
- Verify email filters aren’t too restrictive
- Ensure the email server isn’t blocking automated access
- Check connection status in the Email Connection tab
Poor Response Quality
Poor Response Quality
If responses aren’t meeting expectations:
- Refine the assistant instructions with more specific guidance
- Add more relevant knowledge files
- Adjust the AI model parameters (try a different model or temperature)
- Add more examples of ideal responses to the instructions