This browser extension helps users generate professional email templates based on the email subject using AI. The extension integrates with a backend powered by the Hugging Face API to create concise, formal boilerplate emails.
- Automatically generates a boilerplate email based on the subject line.
- Adds a "Generate Boilerplate" button in the email composer.
- Supports Gmail and Outlook web interfaces.
- Google Chrome or any Chromium-based browser (e.g., Edge).
-
Clone this repository:
git clone https://github.com/AST0008/email-extension cd email-extension/frontend
-
Open the browser and navigate to
chrome://extensions/
. -
Enable Developer Mode (toggle in the top-right corner).
-
Click Load unpacked and select the folder containing the extension files.
-
The extension will now appear in your browser's toolbar.
- Open your Gmail or Outlook web client.
- Compose a new email.
- Type the subject of your email in the subject field.
- Click the "Generate Boilerplate" button added to the email composer toolbar.
- The AI-generated boilerplate email will appear in the body of your email.
This extension communicates with a backend hosted on Railway. The backend uses the Hugging Face flan-t5-large
model to generate email content.
If you want to set up the backend yourself, check out the backend code here: Backend Repository Link.
The extension is preconfigured to work with the hosted backend. No additional configuration is needed.
Contributions are welcome! If you find bugs or want to add features:
- Fork this repository.
- Create a feature branch:
git checkout -b feature-name/issue
- Commit your changes:
git commit -m "Add a new feature"
- Push the branch:
git push origin feature-name
- Open a Pull Request.
If you encounter any issues, feel free to open an issue in the GitHub Issues section.