prajwal89 / email-management
Complete Email Management Solution for Laravel Apps with A/B Testing, Tracking, Cold Emailing, and Newsletter Support
Fund package maintenance!
prajwal89
Installs: 65
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/prajwal89/email-management
Requires
- php: ^8.3
- ext-json: *
- ext-mbstring: *
- directorytree/imapengine-laravel: ^1.1
- filament/filament: ^3.0
- flowframe/laravel-trend: ^0.4.0
- illuminate/support: ^12.0
- jaybizzle/crawler-detect: ^1.3
- laravel/framework: ^12.0
- prajwal89/lara-toast: dev-main
- spatie/laravel-honeypot: ^4.6
- zbateson/mail-mime-parser: ^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- laravel/pint: ^1.22
- nunomaduro/phpinsights: ^2.0
- orchestra/testbench: ^10.0
- phpstan/phpstan: ^1.0
- phpunit/phpunit: ^11.0
- roave/security-advisories: dev-latest
This package is auto-updated.
Last update: 2025-10-18 18:01:10 UTC
README
This is an opinionated email management solution with powerful features for modern Laravel applications:
✨ Features
- ✅ A/B Testing – Easily test multiple email variants of same email
- 📤 Track Outgoing Emails – Monitor every email sent from your system
- 📈 Email Open & Click Tracking – Know when your emails are opened and visited
- 🛡️ Spam Protection – Prevent abuse with built-in safeguards
- 🧩 Filament Plugin Included – Seamlessly integrates with your Filament admin panel
- 👀 Preview Emails – Visual preview of all your email templates
- 📰 Newsletter Support – Manage and send newsletters with ease
Installation
composer require prajwal89/email-managementphp artisan vendor:publish --tag=email-management-migrationsphp artisan vendor:publish --tag=email-management-configphp artisan vendor:publish --provider="DirectoryTree\ImapEngine\Laravel\ImapServiceProvider"- Implement
EmailReceivableinterface to your User model. - Implement
HasEmailLogsinterface to your User model. ./vendor/prajwal89/email-management/resources/views/**/*.blade.php, add this to your filaments tailwind.config.js- run
npm run buildto build css asset for filament dashboard - Register filament plugin
new EmailManagementFilamentPlugin php artisan make:queue-tablephp artisan migrate- To watch incoming emails
php artisan imap:watch default --with=flags,headers,bodyThis is required if you are using Cold emailing feature or it will send all follow up emails despite of user reply. also it should be restarted like queue workers to load latest app code
Core Concepts
-
Email Event Email events are events that are automatically triggered by app eg. user registration
-
Email Campaign Manually run email campaigns e.g notifying new feature
Usage
-
run command to create a email event
php artisan make:email-event
-
follow the instructions
Campaign Emails
These events emails are manually triggered like marketing emails eg. 15% off on black friday sell