Mailbox Pro — Overview & module guide

Module: Mailbox Pro v1.0.6

Enterprise Outlook-style email management for BIXCRM

How to use in BIXCRM (daily operations)

  1. Sign in to the admin area with a role that includes Mailbox Pro permissions.
  2. Open Mailbox Pro (sidebar) or search for Mailbox Pro in the admin menu.
  3. Start on the Dashboard (if available) to see open tasks, pending approvals, and KPIs.
  4. Review Settings after upgrades — new options may need defaults for your company.
  5. Create or import master data first; most modules block transactions until masters exist.
  6. Run the main business flow (create → submit → approve → post/complete) using the screens listed in Admin menu below.
  7. Use Reports / Analytics screens to reconcile stock, finance, compliance, or SLA metrics.
  8. For integrations (API, EDI, gateways, tax), confirm credentials in Settings and monitor logs or webhook delivery screens.
  9. Train staff with role-based access — give approvers approve permissions only, operators create/edit on their area.
  10. If something fails overnight, check BIXCRM cron ran and open the module log / failed queue screen if present.

Admin menu — where to work

Open the Mailbox Pro section in the admin sidebar. Screens your staff may use (depending on role):

  • Audit Logs
  • Automation Rules
  • Dashboard
  • Email Accounts
  • Email History
  • Email Templates
  • Legal Hold
  • Mailbox
  • Mailbox Pro - AI Assistant
  • Mailbox Pro - Audit Logs
  • Mailbox Pro - Automation
  • Mailbox Pro - Email Accounts
  • Mailbox Pro - Mailbox
  • Mailbox Pro - Reports
  • Mailbox Pro - Send Email
  • Mailbox Pro - Settings
  • Mailbox Pro - Shared Mailboxes
  • Mailbox Pro - Templates
  • Outgoing Queue
  • Reports
  • Settings
  • Setup Wizard
  • Shared Mailboxes
  • Signatures
  • Spam Filter
  • Tags

Detailed guide — features, workflows, API & FAQ

v1.0.6 — Security & CodeCanyon Readiness

  • IDOR protection — account and message access verified on all API endpoints
  • Secure attachment downloads — authenticated controller; direct attachment folder access blocked
  • Shared mailbox scoping — team members only see assigned shared mailboxes
  • HTML sanitization on outgoing email save
  • assign_team automation action implemented with shared mailbox selector
  • Skill-based assignment uses staff skill_tags column
  • Complete uninstall — all migration tables dropped
  • LICENSE.txt, documentation, CHANGELOG, build script for marketplace submission

Features

Email Client

  • Outlook-style 3-pane mailbox (light/dark theme)
  • Inbox, sent, drafts, archive, trash, spam, starred, custom folders
  • Compose, reply, forward, drafts, scheduled send, bulk actions
  • Advanced search, thread view, drag-and-drop attachments

Multi-Account & Sync

  • Gmail, Outlook, Microsoft 365, Yahoo, Zoho, custom IMAP/SMTP
  • OAuth + password authentication with encrypted credential storage
  • Cron-driven IMAP sync, OAuth token refresh, health checks

Team & Shared Mailboxes

  • Shared mailboxes with owner/member/watcher roles
  • Auto-assignment: round-robin, load balance, skill-based, department routing
  • SLA tracking with breach alerts

CRM Integration

  • Auto-link emails to leads, customers, contacts, invoices, projects, tasks, tickets
  • Email history tabs on customer and lead profiles

Automation & Productivity

  • Rule engine with conditions and actions (move, assign, tag, ticket, task, archive, spam)
  • Email templates with merge variables
  • Per-staff signatures

Analytics & Compliance

  • Open/click/reply tracking
  • Dashboard, reports (CSV/Excel/PDF)
  • Legal hold and e-discovery export
  • Spam filtering with block/allow lists
  • GDPR retention policies

AI Assistant

  • OpenAI and DeepSeek integration (summarize, reply, translate, rewrite)

Requirements

  • BIXCRM 3.2+ / Nasbix CRM 3.2+
  • PHP 7.4+ (8.1+ recommended)
  • PHP extensions: imap, openssl, curl, json (optional: zip for Excel export)
  • MySQL 5.7+ / MariaDB 10.3+ with InnoDB
  • Server cron required for email sync and background jobs

Permissions

CapabilityAccess
--------------------
mailbox_pro_mailboxMain mailbox UI, read/search messages
mailbox_pro_send_emailCompose and send emails
mailbox_pro_accountsPersonal email account management
mailbox_pro_shared_mailboxesShared mailbox configuration
mailbox_pro_templatesEmail templates
mailbox_pro_automationAutomation rules
mailbox_pro_aiAI assistant features
mailbox_pro_reportsReports and exports
mailbox_pro_auditAudit logs, legal hold
mailbox_pro_settingsModule settings

Cron Jobs

Registered via BIXCRM cron (run every 1–5 minutes recommended):

  • IMAP email sync
  • Outgoing queue processing
  • OAuth token refresh
  • Automation processing
  • SLA breach checks
  • Retention/cleanup policies

OAuth Provider Setup

Configure OAuth credentials in Mailbox Pro → Settings → OAuth.

Google (Gmail)

  1. Create a project in Google Cloud Console.
  2. Enable Gmail API and create OAuth 2.0 credentials (Web application).
  3. Set redirect URI: https://yourdomain.com/admin/mailbox_pro/mailbox_pro_oauth/callback
  4. Copy Client ID and Client Secret into module settings.

Microsoft (Outlook / M365)

  1. Register an app in Azure Portal → App registrations.
  2. Add redirect URI (same pattern as above).
  3. Grant IMAP/SMTP and offline_access scopes.

Yahoo & Zoho

Follow provider developer documentation. Enter credentials in Settings and connect from the account edit page.

Cron Jobs

All background tasks run through BIXCRM's main cron. Example crontab entry (every 5 minutes):

* * * * * php /path/to/bixcrm/index.php cron/index > /dev/null 2>&1
JobPurpose
Email SyncPull new messages from IMAP accounts
Outgoing QueueSend pending/scheduled emails
OAuth RefreshRefresh expired OAuth tokens
AutomationProcess rule engine on new messages
SLA CheckDetect and alert SLA breaches
RetentionApply GDPR cleanup policies

Permissions

CapabilityAccess
mailbox_pro_mailboxMain mailbox UI, read/search messages
mailbox_pro_send_emailCompose and send emails
mailbox_pro_accountsPersonal email accounts
mailbox_pro_shared_mailboxesShared mailbox management
mailbox_pro_templatesEmail templates
mailbox_pro_automationAutomation rules
mailbox_pro_aiAI assistant
mailbox_pro_reportsReports and exports
mailbox_pro_auditAudit logs, legal hold
mailbox_pro_settingsModule settings

Key Features

  • Outlook-style 3-pane email client with dark mode
  • Multi-provider IMAP/SMTP with OAuth
  • Shared mailboxes with auto-assignment (round-robin, load balance, skill-based, department)
  • CRM auto-linking to leads, customers, tickets, projects, invoices
  • Automation rules with visual builder
  • Email templates, signatures, internal notes
  • Open/click/reply tracking
  • AI assistant (OpenAI, DeepSeek)
  • SLA monitoring, legal hold, e-discovery
  • Spam filtering, web push notifications
  • Dashboard widget and full reports

Security

  • Granular RBAC with 10 permission groups
  • CSRF protection on admin forms (OAuth callback and tracking pixels excluded by design)
  • HTML sanitization via HTMLPurifier on display and outgoing save
  • Encrypted password storage (CodeIgniter encryption library)
  • OAuth state nonce validation (15-minute expiry)
  • API rate limiting with audit logging
  • Secure attachment downloads (authenticated, path traversal protected)
  • Attachment type/size validation with blocklist
  • Upload directories protected from directory listing
  • Per-account and per-message authorization (IDOR protection)

Settings Overview

Configure in Mailbox Pro → Settings:

  • General — sync interval, theme, default department for tickets
  • OAuth — provider credentials for Gmail, Outlook, Yahoo, Zoho
  • AI — OpenAI/DeepSeek API keys and model selection
  • Tracking — enable open/click tracking, URL whitelist
  • Notifications — browser push (VAPID keys auto-generated)
  • Security — API rate limit, attachment limits, blocked extensions
  • Retention — GDPR cleanup days for inbox, sent, archive, trash, logs
  • Backup — export mailbox data as JSON

After activation — configuration checklist

  1. Go to Setup → Modules and activate Mailbox Pro.
  2. Open Mailbox Pro → Setup to run the first-time configuration wizard.
  3. Assign permissions under Setup → Staff → Roles.
  4. Ensure PHP imap extension is enabled on your server.
  5. Configure server cron to hit BIXCRM's cron URL every 1–5 minutes.
  6. BIXCRM 3.2+ / BIXCRM 3.2+
  7. PHP 7.4+ (8.1+ recommended)
  8. Extensions: imap, openssl, curl, json
  9. Optional: zip for native Excel report export
  10. MySQL 5.7+ / MariaDB 10.3+ (InnoDB, FULLTEXT support)

Staff permissions (from module)

Assign under Setup → Staff → Roles. Each feature can expose different actions:

FeatureActions
Mailbox Pro - Mailbox
mailbox_pro_mailbox
view, create, edit, delete
Mailbox Pro - Send Email
mailbox_pro_send_email
view
Mailbox Pro - Email Accounts
mailbox_pro_accounts
view, create, edit, delete
Mailbox Pro - Shared Mailboxes
mailbox_pro_shared_mailboxes
view, create, edit, delete
Mailbox Pro - Templates
mailbox_pro_templates
view, create, edit, delete
Mailbox Pro - Automation
mailbox_pro_automation
view, create, edit, delete
Mailbox Pro - Reports
mailbox_pro_reports
view, export
Mailbox Pro - Settings
mailbox_pro_settings
view, edit
Mailbox Pro - Audit Logs
mailbox_pro_audit
view
Mailbox Pro - AI Assistant
mailbox_pro_ai
view

One-time setup (first time only)

  1. Setup → Modules → activate Mailbox Pro.
  2. Setup → Staff → Roles → assign Mailbox Pro permissions (view, create, edit, delete, approve, export, settings as needed).
  3. Open Mailbox Pro → Settings and complete company defaults, prefixes, integrations, and notification options.
  4. Create master data (warehouses, products, templates, accounts, routes, etc.) before processing live transactions.
  5. Enable BIXCRM cron (php /path/to/bixcrm/index.php cron/index) for sync, retries, alerts, and scheduled jobs.
  6. Optionally enable REST API / webhooks in module settings if you integrate external systems.

BIXCRM Knowledge Base — usage guide generated from module README and documentation.

Did you find this article useful?