Features Overview
Introduction
This document provides a comprehensive overview of all features currently implemented in App Suite for Teams. Teams is a collaborative email management application that transforms shared inboxes into team workspaces, enabling coordinated customer support, sales, and other team-based email workflows.
Product Vision
App Suite for Teams replaces individual mailbox access with team-based collaboration. Instead of each team member working in isolation, Teams provides shared visibility, assignment workflows, real-time collaboration, and coordinated responses to customer communications.
Core Feature Areas
1. Thread Management
Status: ✅ Implemented Documentation: features/thread-management.md
Email conversations (threads) are the fundamental unit of work in Teams. Thread Management provides the UI and workflows for viewing, navigating, and interacting with threads.
Key Capabilities:
- List view with virtual scrolling (handles 100k+ threads efficiently)
- Thread detail view with full conversation history
- Create threads via comments (without incoming email)
- Keyboard navigation (arrows, Enter, Home/End, etc.)
- Multi-selection (Cmd/Ctrl+Click, Shift+Click, Cmd/Ctrl+A)
- Inbox filtering (switch between shared inboxes)
- Automatic thread synchronization from mail server
- Thread count queries with status filters
User Value:
- Centralized view of all customer conversations
- Proactive thread creation for internal workflows
- Efficient navigation without mouse (power users)
- Process high volumes of emails quickly
- Never miss a customer inquiry
2. Assignment Workflow
Status: ✅ Implemented Documentation: features/assignment-workflow.md
Assignment Workflow distributes threads among team members, ensuring clear ownership and accountability for every conversation.
Key Capabilities:
- Assign threads to specific team members
- "Assigned to me" personal inbox view
- Reassign threads to different users
- Unassign threads (return to pool)
- Auto-assign when changing status
- Real-time assignment notifications
User Value:
- Clear responsibility for each conversation
- Balanced workload distribution
- Prevent duplicate work
- Focus on personal assignments
3. Collaborative Draft Editing
Status: ✅ Implemented Documentation: features/collaborative-draft-editing.md
Collaborative Draft Editing enables real-time, multi-user editing of email replies using CRDT technology (Yjs). Multiple team members can simultaneously edit the same draft without conflicts, seeing each other's changes instantly.
Key Capabilities:
- Create shared draft replies
- Real-time collaborative editing (CRDT-based)
- Rich text formatting (bold, italic, lists, links, images)
- User awareness (see who's editing, cursor positions)
- Subject line editing (synced)
- Local persistence (IndexedDB, survives offline)
- Send or close draft collaboratively
User Value:
- Google Docs-style collaboration in email
- Leverage team knowledge for complex responses
- Faster response times with parallel work
- Conflict-free editing (no overwrites)
- Offline-capable with automatic sync
4. Comments and Discussion
Status: ✅ Implemented Documentation: user-stories/comments-and-discussion.md
Internal comments allow team members to discuss threads without sending external emails, facilitating coordination and knowledge sharing.
Key Capabilities:
- Rich text formatting (bold, italic, underline, headings, lists, blockquotes, code)
- Image upload with inline display (auto-resized)
- Emoji picker for adding emojis
- Auto-linkify URLs
- View comments in chronological timeline
- Real-time comment updates
- Auto-scroll to new comments
- Keyboard shortcuts (Enter to submit, Shift+Enter for line break)
User Value:
- Internal team discussion in context with rich formatting
- Visual communication with images and emojis
- Ask questions without customer visibility
- Document decisions and insights clearly
- Coordinate responses without email clutter
5. Categories and Status Tracking
Status: ✅ Implemented Documentation: features/categories-and-status-tracking.md
Categories (sourced from App Suite mail categories) provide consistent organization-wide categorization, while Status Tracking provides workflow stages (New → To Do → In Progress → Done).
Key Capabilities:
- Add/remove App Suite mail categories per thread
- Predefined categories with colors and icons
- Display categories in list and detail views
- Filter thread list by category
- Set thread status (New, To Do, In Progress, Done)
- Auto-set status to "To Do" on assignment
- Track tag/status changes in timeline
- Real-time synchronization
User Value:
- Custom categorization to fit team needs
- Visual workflow progress tracking
- Prioritization and filtering (future)
- Monitor team velocity and bottlenecks
6. Shared Inboxes and Multi-Account Support
Status: ✅ Implemented Documentation: features/shared-inboxes-multi-account.md
Shared Inboxes enable teams to collaborate on email from shared addresses (support@, billing@) with automatic account sync from App Suite and access control. The recommended setup is an App Suite shared account granted to the team's users or groups; Teams then honours each grantee's sending rights. Secondary accounts with shared credentials are deprecated but keep working.
Key Capabilities:
- Automatic sync of mail accounts from App Suite
- Shared accounts recognised from their App Suite grants, including send-as and send-on-behalf rights
- List of all shared inboxes with access
- Personal views ("Assigned to me", "Shared with me")
- Inbox switching with thread context
- Team member visibility per inbox
- Access control and validation
- Multi-account thread context
User Value:
- Professional shared email addresses
- Team visibility into all conversations
- Automatic setup (no manual configuration)
- Controlled access to appropriate inboxes
- Scalable for growing teams
7. Real-time Collaboration Infrastructure
Status: ✅ Implemented Documentation: features/real-time-collaboration.md
Real-time infrastructure provides WebSocket connections, CRDT synchronization (Yjs), and awareness protocols that enable instant updates and live collaboration.
Key Capabilities:
- Persistent WebSocket connections
- Thread action notifications (assignments, comments, etc.)
- Draft collaboration sync (Yjs CRDT)
- User awareness and presence (cursors, active users)
- Optimistic UI updates with rollback
- Offline resilience with automatic sync
- Event propagation to team members
User Value:
- Instant visibility of teammates' actions
- No page refreshes needed
- Conflict-free collaboration
- Works offline with automatic sync
- Coordinated work without conflicts
8. AI Assistance
Status: ✅ Implemented Documentation: features/ai-assistance.md
AI Assistance summarizes threads and messages, translates them into the reader's language, and drafts replies. It is built on the App Suite ai-service, the same backend the core ai-web plugin uses.
Key Capabilities:
- Summarize a complete thread: subject, every mail body, and every internal comment
- Summarize a single message, including its quoted reply chain
- Translate a single message, with "Show original" to revert (mails only; comments are internal)
- Proactive translation offers based on local language detection (no request to the AI service)
- Auto-translate for languages marked "Always", where the deployment supports it
- Per-user "Always" and "Never" per language, shared with App Suite's AI settings
- Generated replies and quick answers that seed a shared draft or classic compose
- Streaming output with stop, regenerate, and an AI disclaimer
User Value:
- Pick up an unfamiliar thread without reading all of it
- See what the team already decided, not just what the customer wrote
- Handle mail in languages nobody on the shift reads, without asking every time
- Start from a draft instead of a blank compose box
Feature Integration
The features work together to create a cohesive team collaboration experience:
Thread Management
├─► Assignment Workflow (assign threads)
├─► Comments (internal discussion)
├─► Tags & Status (categorize & track)
└─► Collaborative Drafts (reply together)
└─► Real-time Infrastructure (sync edits)
Shared Inboxes
└─► Access Control for all features
Real-time Infrastructure
└─► Powers all collaborative features
AI Assistance
├─► Thread Management (summarize, translate)
└─► Collaborative Drafts (generated replies)Technical Architecture Summary
Frontend
- Framework: Vue 3 with Composition API
- State Management: Pinia stores
- Routing: Vue Router (query-based)
- Styling: UnoCSS utility-first CSS
- Rich Text: TipTap editor (ProseMirror-based)
- Real-time: Socket.io + custom Yjs WebSocket provider
Backend
- Framework: Fastify with autoload plugins
- Database: PostgreSQL with Drizzle ORM
- Real-time: WebSocket (custom provider for Yjs)
- Integration: App Suite APIs (mail, accounts, session)
- Authentication: JWT (OIDC client credentials)
Data Layer
- Threads: Core conversation data with actions timeline
- Actions: Timeline events (email, assign, comment, status, tag, draft)
- Inboxes: Shared mailbox metadata and sync state
- Accounts: User-to-inbox access mappings
- Yjs Documents: Collaborative draft state (PostgreSQL + IndexedDB)
Real-time
- CRDT: Yjs for conflict-free collaboration
- Sync: Custom WebSocket provider (ADR-0008)
- Persistence: PostgreSQL (
yjs_documents, ADR-0028) + IndexedDB (y-indexeddb) - Notifications: Socket.io for thread updates
- Awareness: Real-time user presence and cursors
Key Architectural Decisions (ADRs)
- ADR-0002: Vue.js as frontend framework
- ADR-0003: Vue Router for navigation
- ADR-0004: UnoCSS for styling
- ADR-0005: Tree structure in sidepanel
- ADR-0006: PostgreSQL + Drizzle ORM for database
- ADR-0007: Yjs for real-time state sharing (CRDT)
- ADR-0008: Custom WebSocket implementation for Yjs
- ADR-0009: Ignore sent items when fetching threads
- ADR-0010: OIDC client credentials grant for auth
User Personas
Support Agent
- Responds to customer inquiries from shared support inbox
- Uses assignments, comments, and drafts daily
- Needs efficient navigation and keyboard shortcuts
- Values real-time collaboration for complex issues
Team Lead
- Manages workload distribution across team
- Monitors thread status and response times
- Uses tags and status for tracking
- Reviews drafts before sending
Billing Specialist
- Handles billing-related emails from dedicated inbox
- Categorizes threads by billing type
- Collaborates with finance team on complex cases
- Needs audit trail of actions (timeline)
Subject Matter Expert
- Provides technical guidance on complex threads
- Reviews and enhances draft responses
- Not primary assignee but active collaborator
- Values real-time editing and comments
Current Limitations
Thread Management
- No pagination - all thread metadata fetched at once (virtual scrolling handles 100k+ efficiently)
- No search functionality (planned)
- No advanced filtering by tag, status, or assignee (planned)
Assignment
- No assignment automation rules (planned)
Drafts
- No draft templates (planned)
Tags & Status
- No tag autocomplete (planned)
- No tag-based filtering (planned)
Shared Inboxes
- No admin UI to manage access and create inboxes (managed via App Suite tools; planned for Teams)
AI Assistance
- Undoing a "Never translate this language" choice happens in App Suite's AI settings; Teams has no settings pane of its own
- Local language detection covers five languages (German, English, French, Spanish, Italian)
Future Roadmap
Short-term Enhancements
- Search: Full-text search across thread content
- Filtering: Advanced filters by tag, status, assignee, date
- Bulk Operations: Bulk assign, tag, delete threads
- Tag Management: Autocomplete, colors, categories
- Connection Status: Visual WebSocket connection indicator
Medium-term Features
- Draft Templates: Pre-defined response templates
- Automation Rules: Auto-assign, auto-tag based on criteria
- Analytics Dashboard: Team performance metrics
- Custom Statuses: Define team-specific workflow stages
- Inbox Settings: Per-inbox configuration
Long-term Vision
- Advanced Workflows: Custom approval processes
- Mobile App: Native iOS/Android applications
- Integrations: Slack, CRM, ticketing systems
- Advanced Permissions: Role-based access control
Success Metrics
Performance
- Thread list load: < 2 seconds (p95)
- Real-time latency: < 1 second (p95)
- Draft sync: < 500ms (p95)
- API response times: < 300ms (p95)
- UI responsiveness: 60fps maintained
Reliability
- Sync success rate: > 99.9%
- WebSocket uptime: > 99.95%
- Zero data loss from conflicts
- Zero unauthorized access incidents
Adoption
- 90% of teams prefer Teams over individual mailboxes
- 80% of complex responses use collaboration
- Average 2.5 collaborators per draft
- 100% of active threads assigned within 15 minutes
User Satisfaction
- Overall feature satisfaction: > 4.5/5
- Collaboration feature satisfaction: > 4.5/5
- Response time improvement: 30-50%
- Reduced duplicate work: 40%
Documentation Index
User Stories
- Thread Management
- Assignment Workflow
- Collaborative Draft Editing
- Comments and Discussion
- Mentions
- Categories and Categorization
- Status Tracking
- Shared Inboxes
Feature Documentation
- Thread Management
- Assignment Workflow
- Collaborative Draft Editing
- Mentions
- Categories and Status Tracking
- Shared Inboxes and Multi-Account
- Real-time Collaboration Infrastructure
Technical Documentation
- ADRs - Architecture Decision Records
- Unit testing guide
- End-to-end testing guide

