Skip to content

AST0008/email-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PenPal

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.


Features

  • 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.

Installation

Prerequisites

  • Google Chrome or any Chromium-based browser (e.g., Edge).

Steps

  1. Clone this repository:

    git clone https://github.com/AST0008/email-extension
    cd email-extension/frontend
  2. Open the browser and navigate to chrome://extensions/.

  3. Enable Developer Mode (toggle in the top-right corner).

  4. Click Load unpacked and select the folder containing the extension files.

  5. The extension will now appear in your browser's toolbar.


Usage

  1. Open your Gmail or Outlook web client.
  2. Compose a new email.
  3. Type the subject of your email in the subject field.
  4. Click the "Generate Boilerplate" button added to the email composer toolbar.
  5. The AI-generated boilerplate email will appear in the body of your email.

Backend API

This extension communicates with a backend hosted on Railway. The backend uses the Hugging Face flan-t5-large model to generate email content.

Backend Repository

If you want to set up the backend yourself, check out the backend code here: Backend Repository Link.


Configuration

The extension is preconfigured to work with the hosted backend. No additional configuration is needed.


Contributing

Contributions are welcome! If you find bugs or want to add features:

  1. Fork this repository.
  2. Create a feature branch:
    git checkout -b feature-name/issue
  3. Commit your changes:
    git commit -m "Add a new feature"
  4. Push the branch:
    git push origin feature-name
  5. Open a Pull Request.

Issues

If you encounter any issues, feel free to open an issue in the GitHub Issues section.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published