PHPackages                             hercegdoo/aicomposeplugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. hercegdoo/aicomposeplugin

ActiveRoundcube-plugin[Mail &amp; Notifications](/categories/mail)

hercegdoo/aicomposeplugin
=========================

A plugin for AI generated emails.

2.0.0(6mo ago)3474[5 issues](https://github.com/HercegDoo/AIComposePlugin/issues)[7 PRs](https://github.com/HercegDoo/AIComposePlugin/pulls)MITPHPPHP &gt;=7.4CI passing

Since Feb 19Pushed 2w agoCompare

[ Source](https://github.com/HercegDoo/AIComposePlugin)[ Packagist](https://packagist.org/packages/hercegdoo/aicomposeplugin)[ RSS](/packages/hercegdoo-aicomposeplugin/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (10)Versions (10)Used By (0)

AI Email Generator Plugin for Roundcube
=======================================

[](#ai-email-generator-plugin-for-roundcube)

Overview
--------

[](#overview)

The AI Email Generator plugin for Roundcube enhances the email composing experience by integrating AI-based email generation capabilities. With this plugin, users can generate professional and personalized emails with just a few clicks, saving time and effort.

**Current Version:** v2.0.0

### Features

[](#features)

1. **AI Email Generation:**

    - Allows users to generate an email by providing specific instructions.
2. **Customizable Parameters: Users can choose:**

    - Style: The tone and style of the email (e.g., formal, casual, informational, etc.).
    - Length: How long the generated email should be (short, medium, or long).
    - Creativity: Adjust the level of creativity in the email (low, medium, or high).
    - Language: Choose from Bosnian, Croatian, English, German, or Dutch.
3. **User-Defined Predefined Instructions:**

    - Users can create custom predefined instructions that they can reuse for generating emails. Instead of typing instructions each time, users can save and select frequently used ones, enhancing productivity.
4. **Default Settings:**

    - Users can set default values for style, length, creativity, and language. These default settings will be automatically applied during email generation, allowing for a more streamlined experience.
5. **Seamless Integration:**

    - Adds a new button to the Compose page in Roundcube that opens a prompt for email generation.

Install
-------

[](#install)

1. Clone repository content to an `AIComposePlugin` directory inside your RoundCube `plugins` directory.
2. Then reference the plugin by adding an item `AIComposePlugin` to the RoundCube plugins list in the configuration:

    ```
    $config['plugins'] = array('AIComposePlugin', ...);
    ```
3. Dependencies and built frontend bundles are already included. If you want to rebuild them manually, navigate to the plugin directory and run:

```
composer install --no-dev
npm install --omit=dev
npm run build:prod
```

4. Fill in the settings in the config.inc.php.dist file according to the instructions provided within it. After completing the configuration, rename the file to config.inc.php.

Usage
-----

[](#usage)

1. **Compose a New Email:**

    - Open Roundcube and start composing a new email.
    - A new button labeled **Generate** will appear on the Compose page.
2. **Open the AI Prompt:**

    - Click on the **Generate Email** button.
    - A prompt will appear where you can:
        - Enter instructions for the email.
        - Choose the style, length, creativity, and language of the email.
3. **Generate Email:**

    - Provide the necessary details, and click **Generate**.
    - The AI will generate an email based on the provided input.
    - The generated email can be inserted into the Compose window, ready for further editing or immediate sending.

[![image](https://private-user-images.githubusercontent.com/61078470/414796605-15a813ee-65a6-483d-906c-1abd1beb0bad.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODIxMjM4MjcsIm5iZiI6MTc4MjEyMzUyNywicGF0aCI6Ii82MTA3ODQ3MC80MTQ3OTY2MDUtMTVhODEzZWUtNjVhNi00ODNkLTkwNmMtMWFiZDFiZWIwYmFkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjIyVDEwMTg0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgyM2VhMTViZTNmNGNmNGUzODliYjZlMWVjMWRlMThmM2RhMDYyZmMzYTYxNWE4M2Y4ZWZlNGI0ZjJkMmQxYTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.KGWGzHCL4usXJhE0sqTe_4VomnoXsJwWuyEeuxI6iic)](https://private-user-images.githubusercontent.com/61078470/414796605-15a813ee-65a6-483d-906c-1abd1beb0bad.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODIxMjM4MjcsIm5iZiI6MTc4MjEyMzUyNywicGF0aCI6Ii82MTA3ODQ3MC80MTQ3OTY2MDUtMTVhODEzZWUtNjVhNi00ODNkLTkwNmMtMWFiZDFiZWIwYmFkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjIyVDEwMTg0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgyM2VhMTViZTNmNGNmNGUzODliYjZlMWVjMWRlMThmM2RhMDYyZmMzYTYxNWE4M2Y4ZWZlNGI0ZjJkMmQxYTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.KGWGzHCL4usXJhE0sqTe_4VomnoXsJwWuyEeuxI6iic)

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance64

Regular maintenance activity

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 67% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~297 days

Total

2

Last Release

201d ago

Major Versions

1.0.5 → 2.0.02025-12-14

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/61078470?v=4)[maniaba](/maintainers/maniaba)[@maniaba](https://github.com/maniaba)

---

Top Contributors

[![Harun2244](https://avatars.githubusercontent.com/u/153545164?v=4)](https://github.com/Harun2244 "Harun2244 (61 commits)")[![maniaba](https://avatars.githubusercontent.com/u/61078470?v=4)](https://github.com/maniaba "maniaba (15 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (7 commits)")

---

Tags

aichatgptcomposegenerate-emailroundcubewebmail

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/hercegdoo-aicomposeplugin/health.svg)

```
[![Health](https://phpackages.com/badges/hercegdoo-aicomposeplugin/health.svg)](https://phpackages.com/packages/hercegdoo-aicomposeplugin)
```

###  Alternatives

[maize-tech/laravel-email-domain-rule

Laravel Email Domain Rule

612.0k](/packages/maize-tech-laravel-email-domain-rule)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
