User Story: Shared Inboxes
Overview
As a team member, I want to access shared team inboxes so that I can collaborate on emails with my colleagues instead of working in isolation.
User Personas
- Support Team: Works from shared support inbox
- Billing Team: Handles billing emails from dedicated inbox
- Sales Team: Manages sales inquiries together
- Administrator: Manages inbox access and permissions
User Stories
View Available Shared Inboxes
As a team member I want to see all shared inboxes I have access to So that I can choose which one to work on
Acceptance Criteria:
- Sidebar shows "Shared Inboxes" section
- All shared inboxes I can access are listed
- Each inbox shows name/label
- Inbox icons indicate the type (support, billing, etc.)
- Inboxes sync from App Suite accounts
Access Personal Inbox Views
As a team member I want to see personalized views of shared work So that I can focus on my responsibilities
Acceptance Criteria:
- "Assigned to me" view shows threads from all shared inboxes assigned to me
- "Shared with me" view shows shared threads (future)
- Personal views appear above shared inboxes in sidebar
- Views have distinct icons
Switch Between Inboxes
As a team member I want to switch between different inboxes So that I can work on different areas
Acceptance Criteria:
- Clicking inbox name loads its threads
- Active inbox is visually highlighted
- Thread list updates when inbox changes
- URL reflects selected inbox
- Last viewed thread per inbox is remembered
View Inbox Team Members
As a team member I want to see who else has access to a shared inbox So that I know who I'm collaborating with
Acceptance Criteria:
- Inbox shows list of team members with access
- User names and emails are displayed
- Real-time awareness of active users (via draft editing)
Automatic Inbox Sync
As a team member I want to have my App Suite mail accounts automatically synced So that I don't have to manually configure inboxes
Acceptance Criteria:
- Shared inboxes sync from App Suite accounts API
- New accounts appear automatically
- Removed accounts disappear from list
- Sync happens on app load and periodically
Multi-Account Support
As a team member I want to work with multiple mail accounts in Teams So that I can manage different team responsibilities
Acceptance Criteria:
- Each App Suite mail account appears as separate inbox
- Threads maintain association with source inbox
- Assignment works across all inboxes
- User can be assigned to threads from any inbox they access
Value Proposition
Shared inboxes enable true team collaboration on email. Instead of each person having isolated access, teams can work together, assign work, track progress, and ensure consistent responses. The integration with App Suite mail accounts provides seamless setup without manual configuration.
Related Features
- Thread Management
- Assignment Workflow
- Multi-Account Support
- Real-time Collaboration
Technical Notes
- Shared inboxes sync from App Suite accounts API
- Backend endpoints:
GET /accounts- Fetch user's mail accounts- Automatically syncs accounts with database
- Database schema:
inboxtable stores inbox metadataaccountstable links users to inboxesusers_to_inboxjunction table for access control
- Inbox data includes:
- ID (numeric account ID from App Suite)
- Display name
- Email address
- List of users with access
- Personal views ("me", "shared") are virtual folders
- Inbox selection managed in folders Pinia store

