-
Notifications
You must be signed in to change notification settings - Fork 0
Core Features
AICA uses Auth0 to provide secure, reliable authentication with multiple sign-in methods:
- Email/Password – Standard account creation with secure credentials
- Google – OAuth login with Google accounts
- Microsoft – OAuth login with Microsoft accounts
- GitHub – OAuth login with GitHub accounts
- Apple – OAuth login with Apple ID
Security Features:
- JWT token-based authentication
- Refresh token support for persistent sessions
- Secure session management with localStorage
- Protected API endpoints requiring authentication
Choose from preset communication styles or create custom tones to match any situation:
Default Tones:
- Professional – Clear, direct, and business-appropriate
- Friendly – Warm, approachable, and conversational
- Formal – Respectful, structured, and traditional
- Persuasive – Compelling, action-oriented, and confident
Custom Tones:
- Create and save up to 8 custom tones
- Examples: Casual, Urgent, Apologetic, Enthusiastic, Empathetic
- Edit or delete custom tones anytime in Settings
- Tones persist across sessions via MongoDB
Tailor your emails based on who will receive the message. Select from default audiences or create custom recipients:
Default Audiences:
- Professor / Instructor – Academic and respectful tone
- Student / Peer – Casual but professional
- Coach / Trainer – Respectful and direct
- Professional / Colleague – Business-appropriate
Custom Audiences:
- Create and save up to 8 custom audiences
- Examples: CEO, Client, Team Member, Hiring Manager, Academic Advisor
- Support for multiple recipients (e.g., "CEO and CFO", "Marketing Team")
- Edit or delete custom audiences in Settings
- Audiences persist across sessions via MongoDB
Jump-start your writing with ready-to-use structures for common communications:
- Thank You Email – Express gratitude professionally
- Meeting Request – Schedule meetings effectively
- Follow-Up Email – Continue conversations professionally
- Introduction Email – Make strong first impressions
- Apology Email – Address mistakes sincerely
- Feedback Request – Solicit constructive input
Create reusable email prompts for recurring needs:
- Save up to 8 custom templates
- Examples: "Project Status Update", "Weekly Report", "Client Proposal"
- Each template includes a name and prompt
- Edit or delete templates in Settings
- Templates persist across sessions via MongoDB
- Mark templates as custom or default
AICA leverages advanced AI through LangChain and OpenAI to generate professional emails:
Core Capabilities:
- Generate from Prompt – Describe your email needs in natural language
- Tone Adaptation – AI interprets and applies your selected tone (preset or custom)
- Audience Awareness – Adjusts formality, greeting style, and content based on recipient
- Context Understanding – Handles complex requests and multiple recipients
- Professional Formatting – Includes subject line, greeting, body, and closing
- Signature Integration – Automatically applies your selected email signature
AI Features:
- Complete email generation with proper structure
- 3-4 paragraph maximum for conciseness
- Clear call-to-action when appropriate
- Contextually relevant content
- Professional language regardless of tone
Create and manage multiple email signatures for different contexts:
Signature Features:
- Save up to 8 custom signatures
- Each signature includes a name and formatted content
- Set default signature – Auto-selected for new emails
- Examples: "Professional", "Casual", "Work", "Personal"
- Edit or delete signatures in Settings
- Signatures persist across sessions via MongoDB
Signature Application:
- Select signature before generating email
- Option to generate without signature
- Custom signature support for one-time use
- Signatures replace AI-generated closing automatically
Typical Signature Format:
Best regards,
[Your Name]
[Your Title]
[Your Company]
[Your Email]
[Your Phone]
Store and manage your generated emails in a personal library:
Library Features:
- Save up to 8 emails to your library
- Each email includes:
- Subject line
- Full content
- Tone used
- Audience targeted
- Timestamp
- Source (AI-generated or manually added)
- Favorite emails – Star important emails for quick access
- Edit saved emails – Update subject, content, tone, or audience
- Manual email entry – Add emails you've written yourself
- Delete emails – Remove outdated entries
Email Library Management:
- Access via Settings modal
- Search and browse saved emails
- Copy any saved email to clipboard
- All emails persist via MongoDB
- Emails tied to your Auth0 user account
Connect your Microsoft Outlook account to send AI-generated emails directly without leaving AICA:
Connection Features:
- One-Click OAuth – Secure Microsoft authentication
- Connection Status – Real-time display of connected account
- Persistent Tokens – Stay connected across sessions with automatic token refresh
- Easy Disconnect – Remove Outlook connection anytime in Settings
Sending Capabilities:
- Send Email – Deliver AI-generated emails directly through your Outlook account
- Create Draft – Save emails as drafts in Outlook for later review
- Multiple Recipients – Support for To, CC, and BCC fields
- Email Validation – Automatic validation of recipient email addresses
- Pre-filled Content – Subject and body auto-populated from AI-generated emails
- Edit Before Sending – Review and modify emails before sending
Outlook Integration Flow:
- Click "Connect Outlook" in Settings modal
- Authenticate with Microsoft OAuth
- Grant AICA permissions (Mail.Send, Mail.Read, User.Read)
- Generate email with AICA's AI
- Click "Send via Outlook" button
- Review recipients and content
- Send immediately or save as draft
Security & Privacy:
- OAuth 2.0 secure authentication
- Tokens stored encrypted in MongoDB
- Automatic token refresh (no re-authentication needed)
- Tokens tied to your Auth0 user account
- Revoke access anytime via Settings
Microsoft Graph API Integration:
- Access Outlook inbox messages
- Send emails via Microsoft Graph
- Create and manage drafts
- Full compatibility with Microsoft 365 and Outlook.com accounts
AICA supports both light and dark themes for comfortable viewing:
Theme Features:
- Toggle between light and dark mode
- Theme preference saved to localStorage
- Smooth transitions between themes
- Applies to all UI elements:
- Background colors
- Text colors
- Card/panel backgrounds
- Borders and shadows
- Scrollbar styling
- Modal backgrounds
Manage all your customizations in one place via the Settings modal:
Customizable Elements:
- Tones – View, add, edit, delete (max 8)
- Audiences – View, add, edit, delete (max 8)
- Templates – View, add, edit, delete (max 8)
- Email Library – View, edit, delete, favorite (max 8)
- Signatures – View, add, edit, delete, set default (max 8)
- Outlook Integration – Connect/disconnect Microsoft Outlook account
- Reset to Defaults – Restore factory settings
Settings Features:
- Real-time updates across the application
- MongoDB persistence for all preferences
- User-specific settings tied to Auth0 account
- Validation and error handling
- Success/error feedback messages
Preview Features:
- Live preview of generated email
- Display shows:
- Selected tone
- Selected audience
- Applied signature (if any)
- Full email content with formatting
- Copy to clipboard with one click
- Save to library option (requires authentication)
- Send via Outlook option (if connected)
Export Options:
- Copy to Clipboard – One-click copy of entire email
- Save to Library – Store for future reference
- Send via Outlook – Deliver directly through your Outlook account
- Success notifications for all actions
History Features:
- View all generated emails in current session
- User prompts and AI responses displayed chronologically
- Metadata tags showing:
- Tone used
- Audience targeted
- Signature applied
- Clear conversation option to start fresh
- Auto-scroll to latest messages
Validation:
- Input validation for all form fields
- Required field indicators
- Character limits for custom inputs
- Duplicate prevention for custom items
- Email address validation for Outlook recipients
Feedback:
- Loading indicators during AI generation
- Success messages for saved items
- Error messages with clear explanations
- Auto-dismiss notifications (3 seconds)
- Disabled states during processing
- Outlook connection status updates
MongoDB Integration:
- All preferences stored per user (by Auth0 user ID)
- Automatic creation of default preferences on first login
- Real-time synchronization across devices
- Secure API communication with JWT tokens
- Outlook OAuth tokens stored encrypted
Privacy Features:
- User data isolated by Auth0 user ID
- No sharing between users
- Secure MongoDB connection (local or Atlas)
- Environment variables for sensitive credentials
- No email content stored without explicit user action
- Outlook tokens refreshed automatically without re-authentication
What makes AICA unique:
- ✅ AI-Powered Generation – GPT-4o-mini for intelligent email creation
- ✅ Complete Customization – Tones, audiences, templates, signatures all customizable
- ✅ Cloud Persistence – MongoDB storage keeps preferences across sessions
- ✅ Secure Authentication – Auth0 with multiple OAuth providers
- ✅ Microsoft Outlook Integration – Send emails directly through your Outlook account
- ✅ User-Friendly Interface – Modern Angular UI with Tailwind CSS
- ✅ Dark Mode – Comfortable viewing in any lighting
- ✅ Email Library – Save and organize your best emails
- ✅ Real-Time Updates – Reactive state management with RxJS
- ✅ Maximum Limits – 8 items per category prevents database bloat
- ✅ Professional Output – Consistently formatted, business-appropriate emails