Self-hosted cold-email platform built in plain PHP and MySQL. It connects many Gmail / Google Workspace mailboxes, warms them up, runs multi-step outreach sequences with tracking, collects every reply into one inbox and keeps sender reputation healthy. It runs on cheap shared hosting (built and used on Hostinger) with no Composer or Node build step.
- Multi-account sending over SMTP with rotation, per-account daily limits and human-like delays
- Built-in warmup network between connected accounts, inbox placement tests and health scores with auto-pause
- Campaigns with follow-up sequences, spintax and
{{variables}}, sending windows and timezones - Open / click / unsubscribe tracking, RFC 8058 one-click unsubscribe, suppression list
- Unified inbox over IMAP with reply, out-of-office and bounce detection
- CSV / XLSX / Google Sheets import with email verification (built-in checks plus Verifalia, MillionVerifier, ZeroBounce, NeverBounce)
- Live spam-score content checker and SPF / DKIM / DMARC domain checks
- Multiple companies, admin and agent roles, reports with CSV export
PHP 8.1+ (no framework, no dependencies), MySQL / MariaDB (SQLite supported for local dev), vanilla JS and CSS, Apache .htaccess rewrites, a per-minute cron worker.
- PHP 8.1+ with
pdo_mysql,openssl,mbstring,iconv,zip - MySQL 5.7+ / MariaDB 10.3+
- Apache with
mod_rewrite(or equivalent rules), HTTPS - Cron, run every minute
-
Clone into your web root:
git clone https://github.com/<you>/runnex-mailer.git
-
Create a MySQL database and user.
-
Configure the app, using one of these:
cp config.example.php config.local.phpand edit it, or- set the environment variables listed in
.env.example.
Generate
secret(64 hex) andcron_key(32 hex) withphp -r "echo bin2hex(random_bytes(32));". Keepsecretstable: it encrypts stored mailbox app passwords. -
Load the schema:
mysql -u USER -p DBNAME < app/schema.sql(later changes are applied by built-in migrations). -
Create the first admin:
INSERT INTO users (name, email, password_hash, role, status, created_at) VALUES ('Admin', 'admin@example.com', '<output of php -r "echo password_hash(\'yourpass\', PASSWORD_DEFAULT);">', 'admin', 'active', UTC_TIMESTAMP());
-
Add the cron job:
* * * * * /usr/bin/php /path/to/runnex-mailer/cron.phpor call
https://your-domain/cron.php?key=CRON_KEYfrom an external cron service. -
Make sure
storage/is writable and that/app/,/storage/and/config.phpreturn 403.
Sign in, connect at least two Gmail accounts (with app passwords and IMAP enabled), let warmup run for 2–3 weeks, import a contact list, then create a campaign, send a test and launch with a small list.
MIT © 2026 Kabeer Ahmed