A powerful Chrome extension that helps you write professional emails instantly using Google's Gemini API. Perfect for students and working professionals.
- Inline Gmail Integration - Write emails directly in Gmail without opening popups
- One-Click Access - Quick Compose button appears in Gmail's formatting toolbar
- Smart Suggestions - Get instant email drafts based on your description
Generate emails for any occasion:
- General correspondence
- Follow-up messages
- Meeting requests
- Thank you notes
- Apologies
- Introductions
- Sales outreach
- Status updates
Choose the perfect tone for your audience:
- Professional - For formal business communication
- Friendly - For colleagues and familiar contacts
- Formal - For official and legal matters
- Casual - For informal conversations
- Default - Balanced and versatile
- Automatically reads email context from conversations
- Generates contextually relevant replies
- Saves time on repetitive responses
- Store your personal details (name, role, company)
- Set default email preferences
- Customize signature style
- API key management with secure storage
The Quick Compose button appears in Gmail's formatting toolbar for instant access
Type your email description directly in Gmail - no need to switch tabs
Alternative access via extension popup for more detailed email composition
Configure your API key, personal details, and email preferences
- Google Chrome browser (version 88 or higher)
- Google Gemini API Key (Get it here)
-
Clone or Download the Extension
git clone hhtps://github.com/hk151109/EmailGenius.git cd EmailGenius -
Load Extension in Chrome
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" (toggle in top-right corner)
- Click "Load unpacked"
- Select the
EmailGeniusfolder
- Open Chrome and navigate to
-
Configure API Key
- Click the extension icon in Chrome toolbar
- Click "Settings" or right-click extension icon β "Options"
- Enter your Google Gemini API Key
- Click "Save Settings"
-
Set Up Your Profile (Optional)
- Fill in your name, role, and company details
- Choose your default email tone
- Save your preferences
This is the fastest way to generate emails without leaving Gmail.
- Open Gmail and click "Compose" or "Reply"
- Find the Quick Compose button (βοΈ Quick Compose) in the formatting toolbar (leftmost button)
- Click the button to show the inline prompt box
- Describe your email - e.g., "Follow up on project timeline"
- Select email type (optional) - Choose from dropdown
- Select tone (optional) - Professional, Friendly, etc.
- Click "Generate" or press Enter
- Email appears in the compose box automatically
- Edit if needed and send!
For more detailed email composition with additional options.
- Click the extension icon in Chrome toolbar
- Choose "New Email" or "Reply" tab
- Enter your prompt - Describe what you need
- Configure options:
- Select email type
- Choose tone
- Add recipient (optional)
- Click "Generate Email"
- Review the generated email
- Click "Insert into Gmail" or "Copy to Clipboard"
Generate contextual replies to emails you've received.
- Open an email in Gmail
- Click "Reply"
- Click the extension icon or use Quick Compose
- Select "Reply" tab (in popup)
- Click "Generate Reply" - The extension reads the email content automatically
- Review and send the generated reply
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β User Opens Gmail β
βββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββ΄ββββββββββββ
β β
βββββββββΌβββββββ ββββββββΌβββββββ
β Compose β β Reply β
β New Email β β to Email β
βββββββββ¬βββββββ ββββββββ¬βββββββ
β β
ββββββββββββ¬ββββββββββββ
β
ββββββββββββΌβββββββββββ
β Click Quick β
β Compose Button β
ββββββββββββ¬βββββββββββ
β
ββββββββββββΌβββββββββββ
β Inline Prompt β
β Box Appears β
ββββββββββββ¬βββββββββββ
β
ββββββββββββΌβββββββββββ
β User enters: β
β β’ Description β
β β’ Email Type β
β β’ Tone (optional) β
ββββββββββββ¬βββββββββββ
β
ββββββββββββΌβββββββββββ
β Click Generate β
β or Press Enter β
ββββββββββββ¬βββββββββββ
β
ββββββββββββΌβββββββββββ
β API Call to β
β Gemini β
ββββββββββββ¬βββββββββββ
β
ββββββββββββΌβββββββββββ
β Email Generated β
β & Inserted β
ββββββββββββ¬βββββββββββ
β
ββββββββββββΌβββββββββββ
β User reviews, β
β edits, and sends β
βββββββββββββββββββββββ
| Field | Description | Required |
|---|---|---|
| API Key | Your Google Gemini API key | β Yes |
| Field | Description | Example | Required |
|---|---|---|---|
| Full Name | Your name | John Doe | β No |
| Job Title | Your role | Product Manager | β No |
| Company | Your organization | Tech Corp | β No |
| Your email address | [email protected] | β No | |
| Phone | Contact number | +1 234 567 8900 | β No |
| Field | Options | Default |
|---|---|---|
| Default Tone | Professional, Friendly, Formal, Casual | Professional |
| Include Signature | Yes/No | Yes |
- Local Storage Only - Your API key is stored locally in Chrome's secure storage
- No Data Collection - We don't collect or store any of your emails or personal information
- Direct API Calls - Communication happens directly between your browser and Google's Gemini API
- Open Source - Full transparency - inspect the code yourself
- Manifest Version: V3
- AI Model: Google Gemini (gemini-2.0-flash-exp)
- Frontend: HTML, CSS, JavaScript
- Storage: Chrome Storage API (Sync)
- Permissions:
storage- Save user preferencesactiveTab- Access active Gmail tabscripting- Inject content scripts- Host permissions for Gmail and Gemini API
email-gen/
βββ manifest.json # Extension configuration
βββ popup.html # Extension popup UI
βββ popup.js # Popup logic
βββ options.html # Settings page UI
βββ options.js # Settings logic
βββ background.js # Service worker (API calls)
βββ content.js # Gmail integration script
βββ styles.css # Popup styles
βββ userConfig.json # Default configuration template
βββ images/ # Extension icons
- Refresh Gmail - Press F5 to reload the page
- Check Extension - Ensure the extension is enabled in
chrome://extensions/ - Clear Cache - Try clearing browser cache and reloading
- Reinstall - Remove and reload the extension
- Check API Key - Verify your Gemini API key is correct in settings
- Check Console - Press F12 and look for errors in the Console tab
- API Quota - Ensure you haven't exceeded Gemini API limits
- Network Connection - Check your internet connection
- Refresh Page - Reload Gmail after extension installation
- Close Compose - Close and reopen the compose window
- Try Popup Method - Use "Copy to Clipboard" instead
- Allow Storage - Check Chrome's site settings for storage permissions
- Try Again - Close and reopen the settings page
- Check Browser - Ensure you're using a supported Chrome version
- β Initial release
- β Quick Compose inline integration
- β Extension popup interface
- β Smart reply generation
- β Personal configuration
- β Multiple email types and tones
- β Modern, professional UI design
We welcome contributions! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Having issues or questions? Here's how to get help:
- Check Troubleshooting - Review the troubleshooting section above
- Open an Issue - Report bugs on GitHub Issues
- Email templates library
- Multi-language support
- Analytics and insights
- Team collaboration features
- Custom AI model integration
- Outlook and other email client support
Made with β€οΈ for productivity enthusiasts
Star β this repository if you found it helpful!
