hercegdoo / aicomposeplugin
A plugin for AI generated emails.
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 1
Type:roundcube-plugin
Requires
- php: >=7.4
- ext-curl: *
- php-curl-class/php-curl-class: ^9.19
Requires (Dev)
- codeigniter/coding-standard: ^1.7
- dg/bypass-finals: ^1.8
- friendsofphp/php-cs-fixer: *
- mockery/mockery: ^1.6
- nexusphp/cs-config: ^3.18
- nexusphp/tachycardia: ^1.5
- phpstan/phpstan: ^1.11
- phpunit/phpunit: ^9.6
- roundcube/roundcubemail: 1.6.5
This package is not auto-updated.
Last update: 2025-03-06 14:10:27 UTC
README
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.
Features
-
AI Email Generation:
- Allows users to generate an email by providing specific instructions.
-
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.
-
-
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.
-
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.
-
Seamless Integration:
- Adds a new button to the Compose page in Roundcube that opens a prompt for email generation.
Install
-
Clone repository content to an
AIComposePlugin
directory inside your RoundCubeplugins
directory. -
Then reference the plugin by adding an item
AIComposePlugin
to the RoundCube plugins list in the configuration:$config['plugins'] = array('AIComposePlugin', ...);
-
You can install the required dependencies using Composer, npm, and run the development build. Navigate to the plugin directory and run the following commands:
composer install --no-dev npm install --omit=dev npm run build
- 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
-
Compose a New Email:
- Open Roundcube and start composing a new email.
- A new button labeled Generate will appear on the Compose page.
-
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.
-
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.