Overview
GAIA integrates with Gmail to help you manage your inbox, compose messages, and automate email workflows. Use AI to summarize emails, draft responses, and take bulk actions on messages.Setting up email integration
GAIA connects to your Gmail account using secure OAuth authentication. Your credentials are never stored.
Inbox overview
Email list view
The main email view displays:- Sender: Who sent the email
- Subject: Email subject line
- Preview: First few lines of the email body
- Date: When the email was received
- Status indicators: Unread, starred, or has attachments
Loading and pagination
Emails are loaded in batches of 20 for better performance. Scroll to load more messages automatically. The inbox uses efficient pagination fromapps/web/src/features/mail/api/mailApi.ts:13.
Search and filters
Find specific emails quickly:- Text search: Search by sender, subject, or content
- Status filters: Show unread, starred, or archived messages
- Date filters: Find emails from specific time periods
- Label filters: Filter by Gmail labels
Reading emails
Opening messages
Click any email to view the full content:- Full email body with proper formatting
- Attachments (click to download)
- Sender details and reply-to address
- Email headers and metadata
Email threads
GAIA displays email conversations as threads:- See all messages in the conversation
- Collapsed view for easy navigation
- Expand individual messages to read them
- Thread context helps understand the conversation flow
apps/web/src/features/mail/api/mailApi.ts:347.
AI summaries
Get instant email summaries powered by AI:
Summaries are especially useful for:
- Long emails or threads
- Complex discussions
- Quick triage of your inbox
- Understanding emails in different languages
Email summaries are generated using AI and include importance scoring from
apps/web/src/features/mail/api/mailApi.ts:291.Email actions
Basic actions
Perform common email operations:Mark as read/unread
Mark as read/unread
- Click the envelope icon on an email
- Or ask GAIA: “Mark this email as read”
- Keep track of messages you need to revisit
Star important emails
Star important emails
- Click the star icon to mark important messages
- Starred emails are easier to find later
- Filter your inbox to show only starred messages
Archive emails
Archive emails
- Remove emails from inbox without deleting them
- Archived emails can be found in Gmail’s All Mail
- Great for keeping inbox clean while preserving history
Move to trash
Move to trash
- Delete emails you don’t need
- Trashed emails can be restored within 30 days
- Or use untrash to restore immediately
Bulk operations
Manage multiple emails at once:Choose action
From the bulk action menu, select:
- Mark as read/unread: Update read status for all selected
- Star/Unstar: Mark multiple as important
- Archive: Clean up inbox in bulk
- Trash: Delete multiple messages
apps/web/src/features/mail/api/mailApi.ts:105.
Composing emails
Manual composition
Fill in details
Enter the email information:
- To: Recipient email addresses
- Cc/Bcc: Additional recipients (optional)
- Subject: Email subject line
- Body: Your message content
- Attachments: Upload files (optional)
AI-powered composition
Let GAIA write emails for you:Describe the email
Tell GAIA what you want to write: “Compose an email to the team about the project update”
Provide context
Give key points or information to include:
- Main message
- Tone (formal, friendly, professional)
- Length preference
- Action items or next steps
Review and refine
GAIA generates a draft. You can:
- Use it as-is
- Ask GAIA to revise: “Make it more concise”
- Edit manually before sending
AI writing options
Customize AI-generated emails with these options:- Writing style: Professional, friendly, formal, casual
- Content length: Brief, standard, detailed
- Clarity option: Concise, balanced, comprehensive
- Tone: Adjust for your audience and context
apps/web/src/features/mail/api/mailApi.ts:276.
Reply and forward
Respond to emails efficiently: Reply:- Click Reply on any email
- GAIA pre-fills recipient and subject
- Write your response or use AI to draft it
- Respond to all recipients in a thread
- Useful for group conversations
- Share emails with others
- Add context or notes before forwarding
Drafts
Work on emails over time:- Drafts are saved automatically in Gmail
- Resume editing from your draft folder
- Send drafts when ready using the Send Draft button
- Draft sending is handled via
apps/web/src/features/mail/api/mailApi.ts:258
Email intelligence
Importance detection
GAIA analyzes emails to determine importance:- High importance: Urgent or critical messages
- Medium importance: Standard work emails
- Low importance: Newsletters, notifications
Automatic summaries
GAIA can automatically summarize incoming emails:- Enable in Settings > Email > Auto-summarize
- Summaries include key points and action items
- Great for processing high-volume inboxes
- Summaries are cached for fast access at
apps/web/src/features/mail/api/mailApi.ts:291
Bulk summary retrieval is optimized to fetch summaries for multiple emails at once from
apps/web/src/features/mail/api/mailApi.ts:319.Smart search
Find emails using natural language:- “Show me emails from last week about the client project”
- “Find unread messages from Sarah”
- “Search for emails with attachments from this month”
Email workflows
Automated processing
Create workflows to handle emails automatically:- Auto-archive: Archive newsletters or low-priority senders
- Auto-label: Categorize emails by sender or subject
- Auto-forward: Forward specific emails to other accounts
- Auto-respond: Send automatic replies to common queries
Email-triggered workflows
Trigger actions when emails arrive:- Create todos from emails with action items
- Add calendar events from meeting invitations
- Send notifications for important emails
- Run custom automation based on email content
Integration with other features
Calendar:- Create events from email meeting requests
- Add meeting attendees from email threads
- Schedule follow-ups directly from emails
- Convert action items to tasks
- Link todos to original emails for context
- Set due dates based on email urgency
- Ask questions about your emails
- Get email summaries in conversation
- Manage email actions through natural language
Advanced features
Contact management
GAIA learns from your email interactions:- Frequently contacted people appear in suggestions
- Auto-complete for email addresses
- View contact history and recent emails
- Quick access from the contact list interface
Email templates
Create reusable email templates:- Write a common email (e.g., meeting request)
- Save as template with variables (e.g.,
[meeting time]) - Reuse the template and fill in variables
- Save time on repetitive emails
Attachments
Manage email attachments:- View: Preview attachments in the email viewer
- Download: Save attachments to your device
- Upload: Attach files when composing
- AI analysis: Ask GAIA about attachment contents
Email scheduling
Schedule emails to send later:- Compose the email now
- Set a future send time
- Email sends automatically at the scheduled time
- Great for time zone differences or optimal send times
Tips for effective email management
Process inbox regularly
Review emails daily. Use archive, delete, or star to keep inbox clean.
Use AI summaries
Summarize long emails to save time. Focus on key points and action items.
Leverage bulk actions
Select multiple emails for faster processing. Archive or delete in batches.
Create email workflows
Automate repetitive email tasks. Let GAIA handle routine messages.
Use search effectively
Natural language search finds emails faster than scrolling.
Let AI draft replies
Save time composing responses. GAIA can write professional emails quickly.
Troubleshooting
Emails not loading
Emails not loading
- Check your Gmail connection in Settings
- Verify you have internet connectivity
- Try refreshing the mail view
- Reconnect your Gmail account if needed
Can't send emails
Can't send emails
- Ensure Gmail is properly connected
- Check that you have send permissions
- Verify recipient addresses are valid
- Check for attachment size limits (25MB)
AI summaries not working
AI summaries not working
- Ensure you’re on a paid plan with AI features
- Try refreshing the email
- Check that the email has sufficient content
Missing emails
Missing emails
- Check your Gmail filters and labels
- Search in Gmail directly to verify
- Refresh the GAIA mail view
- Check if emails are in spam or trash
Next steps
Workflow Creation
Automate email processing with workflows.
Chat Interface
Manage emails through natural language conversations.