Skip to content

Repository files navigation

HTML Mail Sender Logo

HTML Mail Template Manager

Extension Demo Screenshot


✨ Features

  • Full-Screen Template Manager: A gorgeous, dedicated UI for managing all your templates.
  • Live HTML Preview: See changes rendered instantly in real-time.
  • Dynamic Variables: Easily inject text, images, files, and YouTube videos into your templates using a simple {{varName}} syntax.
  • Smart Link Conversion: Paste any Google Drive link, and the extension instantly converts it into a direct download or view link!
  • One-Click Gmail Insertion: Seamlessly inject your beautifully crafted HTML directly into the Gmail composer.

🚀 Download & Install

You can download the latest pre-compiled release directly from GitHub!

  1. Download the Latest Release
  2. Extract the downloaded ZIP file.
  3. Open Google Chrome and navigate to chrome://extensions/.
  4. Enable Developer mode (toggle in the top right corner).
  5. Click Load unpacked and select the extracted folder.

💡 How to Use

  1. Open Gmail: Compose a new email in Gmail.
  2. Launch the Manager: Click on the new "Templates" icon injected into your Gmail composer toolbar.
  3. Choose or Create a Template: Select one of the beautiful default templates from the left sidebar or click "+ New" to create your own from scratch.
  4. Edit the HTML: Write your email HTML in the code editor. Any updates will automatically reflect in the Live Preview panel.
  5. Add Variables: Sprinkle variables into your code using the {{variable_name}} syntax. Input fields will automatically appear in the Live Preview panel!
  6. Insert into Gmail: Once your preview looks perfect, click "Insert to Gmail" and watch the magic happen!

💻 Local Development

If you'd like to build the extension from source:

  1. Clone the repository and navigate into it:
    git clone <your-repo-url>
    cd HTML-Mail_sender
  2. Install dependencies:
    npm install
  3. Run the development server (automatically rebuilds on changes):
    npm run dev

📦 Building a Release (.zip and .crx)

When you're ready to share the extension, you can build production-ready packages:

  1. Build the source files:

    npm run build
  2. Generate a ZIP file (For Chrome Web Store or manual unpacked loading):

    Compress-Archive -Path dist\* -DestinationPath HTML-Mail_sender_Release.zip -Force
  3. Generate a CRX file (Command Line):

    npx crx pack dist -o HTML-Mail_sender_Release.crx

    Note: This will automatically generate a key.pem file if you don't have one.

  4. Generate a CRX file (Using Chrome UI):

    • Open Google Chrome and go to chrome://extensions/.
    • Ensure Developer mode is enabled (top right).
    • Click the Pack extension button.
    • For Extension root directory, browse and select the dist folder inside your project.
    • For Private key file (optional), browse and select the key.pem file in your project folder (if you don't select one, Chrome will automatically create a new key.pem file for you).
    • Click Pack extension. Chrome will generate your .crx file right next to the dist folder!

    ⚠️ Important Note on key.pem: Always keep your key.pem safe and secret, as it defines your extension's unique identity! Do not commit it to public repositories.

    Manual Key Generation (Optional): If you ever need to generate a private key manually (for example, if you are working on a public fork), you can use OpenSSL in your terminal:

    openssl genrsa -out key.pem 2048

📝 Example Templates

Want to get started quickly? We have provided a few responsive, professional templates you can paste right into the editor.

Check out the temples folder in this repository for ready-to-use HTML code:

These templates automatically generate fields for you to easily fill in data using Dynamic Variables!


Developed by Sibam Devoloper

About

A custom HTML email template manager tailored for managing and deploying Google Mail templates.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages