
How it works
The plugin ships as two WHMCS modules that work together:- Addon module (
modules/addons/mailchannels_email_api). Adds a MailChannels Email API page to the WHMCS admin area. You use it to connect your parent account, build plans, preview and apply plan changes, watch shared capacity, retry failed provisioning, and reconcile services against MailChannels. - Provisioning module (
modules/servers/mailchannels_email_api). Attached to each WHMCS product. It creates, suspends, reactivates, upgrades, and terminates the customer’s sub-account as WHMCS moves the service through its lifecycle. It also renders the customer’s client area page.
Key concepts
Requirements
Source code
The plugin is open source. Get it from the Bitbucket repository, then follow Install the WHMCS plugin.What you get
- Automatic sub-account provisioning after the first payment.
- Per-plan send limits and API, SMTP, or combined credential modes.
- A guided plan builder that creates ready-to-sell WHMCS products.
- Suspend, reactivate, package change, and terminate mapped to MailChannels operations.
- A capacity dashboard that compares plan allocations with your parent account’s limit.
- Daily reconciliation that detects drift between WHMCS and MailChannels.
- A customer client area with usage, credential reveal, two-phase credential rotation, and a domain check.
- Credentials encrypted at rest and never written to logs, URLs, page HTML, or email.
Get started
Install the plugin
Clone the repository, copy the two module directories into WHMCS, and activate the addon.
Connect your parent account
Validate and store your parent API key.
Create plans
Build sellable products with a send limit and credential mode.
Service lifecycle
Learn what happens on create, suspend, upgrade, and terminate.
Prices you set in WHMCS are your store prices. They are not official MailChannels pricing. You are billed by MailChannels for your parent account according to your MailChannels plan.

