This is a real AI email assistant that connects to your actual Gmail account to help you manage your emails intelligently.
- Real Gmail Access: Connects to your actual Gmail account via Google OAuth
- AI-Powered Email Analysis: Uses AI to determine email importance and priority
- Smart Email Management: Automatically categorizes emails by status and importance
- AI Reply Generation: Generate contextual replies using AI
- Email Sending: Send emails directly from the app with attachments
- Real-time Email Stats: See actual counts of unread, responded, and pending emails
- Go to Google Cloud Console
- Create a new project or select existing one
- Enable the Gmail API:
- Go to "APIs & Services" > "Library"
- Search for "Gmail API" and enable it
- Create OAuth 2.0 credentials:
- Go to "APIs & Services" > "Credentials"
- Click "Create Credentials" > "OAuth 2.0 Client IDs"
- Application type: "Web application"
- Authorized redirect URIs:
http://localhost:3000/api/auth/callback
- Copy the Client ID and Client Secret
- Go to Groq Console
- Create an account and get your API key
- Copy the API key
Create a .env.local
file in the root directory:
GOOGLE_CLIENT_ID=your_google_client_id_here
GOOGLE_CLIENT_SECRET=your_google_client_secret_here
GOOGLE_REDIRECT_URI=http://localhost:3000/api/auth/callback
GROQ_API_KEY=your_groq_api_key_here
NODE_ENV=development
npm install
npm run dev
- Click "Continue with Google" on the login page
- Grant permissions for Gmail access
- You'll be redirected to the dashboard with your real emails
The app requests these Gmail scopes:
gmail.readonly
- Read your emailsgmail.send
- Send emails on your behalfgmail.modify
- Modify email labels and statusgmail.compose
- Compose new emails
- Email Importance Detection: AI analyzes subject, sender, and content to determine priority
- Smart Reply Generation: Context-aware email replies
- Email Categorization: Automatically sorts emails by status and importance
- Uses Google OAuth 2.0 for secure authentication
- Tokens are stored in secure HTTP-only cookies
- Automatic token refresh for seamless experience
- No email data is stored on our servers
- This is normal for development apps
- Click "Advanced" → "Go to [app name] (unsafe)" to continue
- Check if you're signed in with Google
- Verify your
.env.local
file has correct credentials - Make sure Gmail API is enabled in Google Cloud Console
- Check browser console for error messages
- Verify redirect URI matches exactly in Google Cloud Console
- Check that OAuth credentials are correct
- Try signing out and signing in again
- Dashboard: View your real email threads with AI-powered importance ratings
- AI Chat: Ask questions about your emails and get AI assistance
- Email Management: Mark emails as responded, read, or needing response
- Reply Generation: Use AI to generate professional email replies
- Send Emails: Compose and send emails with attachments
This is a real email assistant - not a mockup! It connects to your actual Gmail account and provides genuine AI-powered email management.