Monitored Mailboxes
Add and configure mailboxes for email monitoring and agent processing.
Overview
Monitored Mailboxes are the email addresses that ExecAssist watches for incoming messages. When an email arrives at a monitored mailbox, it's routed to an assigned agent for intelligent processing.
How Mailbox Monitoring Works
The Flow
Email arrives at shared mailbox
↓
Microsoft Graph webhook notifies ExecAssist
↓
ExecAssist retrieves email content
↓
Email routed to assigned agent
↓
Agent processes and takes action
Requirements
- Microsoft 365 shared mailbox
- ExecAssist app registration with Mail.Read permissions
- Active subscription (webhook) for the mailbox
Viewing Mailboxes
Navigate to Configuration > Email Processing > Monitored Mailboxes to see all configured mailboxes.
Mailbox List
| Column | Description |
|---|---|
| The mailbox email address | |
| Display Name | Friendly name for reference |
| Agent | Assigned processing agent. For Personal Assistant-monitored mailboxes, this column shows "[Owner]'s PA" (e.g., "Brad Younge's PA") rather than an agent name. |
| Status | Active or Inactive |
| Subscription | Webhook subscription status |
| Last Activity | Most recent email processed |
Status Indicators
- Active (green) - Monitoring and processing emails
- Inactive (gray) - Not currently monitoring
- Error (red) - Issue with subscription or processing
Adding a Mailbox
Prerequisites
Before adding a mailbox:
- Shared mailbox exists in Microsoft 365
- ExecAssist has permissions (via admin consent)
- Agent created to handle emails
Step-by-Step
- Navigate to Monitored Mailboxes
- Click Add Mailbox
- Enter mailbox details:
| Field | Description | Example |
|---|---|---|
| Email Address | Shared mailbox address | support@company.com |
| Display Name | Friendly name | Customer Support |
| Agent | Select processing agent | Support Agent |
- Click Save
After saving, the Mailbox Details modal opens automatically so you can configure subscriptions.
Note: The agent dropdown includes both active and inactive agents. Inactive agents are labeled with "(Inactive)" so you can distinguish them.
Creating the Subscription
After adding the mailbox (or from the mailbox details):
- Click on the mailbox to open details (if not already open)
- Click Manage Subscriptions
- Click Create Subscription
- Wait for confirmation
The subscription connects to Microsoft Graph and starts monitoring for new emails.
Important: If you close the mailbox details without configuring a subscription, you'll see a warning prompting you to add one. A mailbox without a subscription won't receive email notifications.
Mailbox Configuration Options
Thread Context
Include previous emails in the conversation:
Benefits:
- Agent understands conversation history
- More relevant responses
- Better context for complex issues
Considerations:
- Uses more tokens (higher cost)
- Long threads may hit context limits
- May include irrelevant history
Processing Settings
| Setting | Description |
|---|---|
| Include Attachments | Process email attachments |
| Max Thread Depth | How many previous emails to include |
| Skip Auto-Forwards | Ignore automatically forwarded messages |
Managing Subscriptions
What is a Subscription?
A subscription is a Microsoft Graph webhook that notifies ExecAssist when new emails arrive. Without an active subscription, emails won't be detected.
Subscription Lifecycle
- Created - Webhook registered with Microsoft
- Active - Receiving notifications
- Expiring - Approaching 3-day limit
- Renewed - Extended automatically
- Expired - No longer receiving notifications
Checking Subscription Status
- Click on a mailbox
- View the Subscription section
- Check status and expiration time
Manual Renewal
If subscription expires:
- Click Manage Subscriptions
- Delete the expired subscription
- Create a new subscription
Note: ExecAssist automatically renews subscriptions before they expire. Manual intervention is rarely needed.
Subscription Troubleshooting
Subscription fails to create:
- Verify mailbox address is correct
- Check Azure AD permissions
- Ensure admin consent is granted
Subscription keeps expiring:
- Check for service connectivity issues
- Review Azure function logs
- Contact support if persistent
Assigning Agents
Personal Assistant Mailboxes
When a Personal Assistant (PA) is configured to monitor a shared mailbox, the Agent column shows "[Owner]'s PA" — for example, "Brad Younge's PA". This indicates the mailbox is handled by the owner's PA rather than a standalone agent. No manual agent assignment is required; the PA manages the mailbox automatically.
Changing Agent Assignment
- Click on the mailbox
- Select a different agent from dropdown
- Save changes
Changes take effect immediately for new emails.
Multiple Mailboxes, One Agent
A single agent can process multiple mailboxes:
- Configure the agent with general instructions
- Assign it to multiple mailboxes
- Agent handles all incoming emails
Different Agents for Different Mailboxes
Create specialized agents:
- Sales agent → sales@company.com
- Support agent → support@company.com
- HR agent → hr@company.com
Pausing and Resuming
Pause One Mailbox
- Edit the mailbox
- Set status to Inactive
- Save
The subscription remains but emails aren't processed.
Resume One Mailbox
- Edit the mailbox
- Set status to Active
- Save
Pause All Processing
Go to Account Settings and enable "Pause Agent Execution" to stop all agents globally.
Monitoring Mailbox Activity
Recent Activity
On the mailbox details page:
- Last email received
- Last execution
- Recent error count
Execution History
Click View Executions to see all executions for this mailbox:
- Filter by status
- Sort by time
- Review performance
Health Indicators
| Indicator | Meaning |
|---|---|
| Green dot | Active and working |
| Yellow dot | Warning (check details) |
| Red dot | Error state |
| Gray dot | Inactive (paused) |
Best Practices
Naming Conventions
Use clear display names:
- ✅ "Customer Support - Main"
- ✅ "Sales Inquiries - US"
- ❌ "Mailbox 1"
- ❌ "support"
Agent Assignment
Match agent capability to mailbox purpose:
- Customer support mailbox → Support-focused agent
- Sales mailbox → Sales-focused agent
- General inbox → Triage agent
Testing New Mailboxes
- Send test emails to the mailbox
- Review executions in Activity > Agent Executions
- Verify the agent is processing correctly
- Adjust agent instructions as needed
Security
- Use shared mailboxes, not personal mailboxes
- Grant minimum necessary permissions
- Audit mailbox access regularly
- Monitor for unexpected activity
Troubleshooting
Emails Not Being Processed
- Check mailbox status is Active
- Verify subscription is active
- Confirm agent is assigned and active
- Check ignore rules aren't filtering
- Review recent executions for errors
Duplicate Processing
- Check for multiple subscriptions
- Verify webhook isn't retrying
- Check email forwarding rules
- Contact support if persistent
Permission Errors
- Verify ExecAssist has Mail.Read permission
- Check admin consent was granted
- Re-authorize if needed