CodeCanU
← Back to products
PHP Scripts / Add-ons

Mailbox - Webmail Client & Email Automation Module for Perfex CRM

VERSION 2.3.1 Released ⚡ NEW – Smart CRM Auto-Link – Incoming Mail Files Itself to the Right Customer or Lead NEW – Sender Context Sidebar – Invoices, Balance, Tickets and History Beside Every Email NEW – One-Click Estimate, Invoice and Proposal From Any Email NEW – Rules Engine v2 – Link, Tag, Assign, Create Tasks and Tickets, Snooze and Capture Leads NEW – Auto Lead Capture From Unknown Senders (Spam and Newsletter Safe) NEW – Follow-Up Reminders – “Remind Me If They Do No…

17.00 USDT 59.00 USDT
Version
2.3.1

All source code listed on this site is collected from the internet. If any listing infringes your rights, please contact us and we will remove it immediately.

Description

VERSION 2.3.1 Released ⚡

NEW – Smart CRM Auto-Link – Incoming Mail Files Itself to the Right Customer or Lead
NEW – Sender Context Sidebar – Invoices, Balance, Tickets and History Beside Every Email
NEW – One-Click Estimate, Invoice and Proposal From Any Email
NEW – Rules Engine v2 – Link, Tag, Assign, Create Tasks and Tickets, Snooze and Capture Leads
NEW – Auto Lead Capture From Unknown Senders (Spam and Newsletter Safe)
NEW – Follow-Up Reminders – “Remind Me If They Do Not Reply”, Auto-Cancelled When They Do
NEW – First-Response SLA – Due-Soon and Overdue Badges So Nothing Slips
NEW – Saved Replies (Snippets) With Merge Tags – Personal or Shared With the Team
NEW – Lead Timeline Logging – Every Linked Email on the Lead’s Activity Feed
IMPROVED – Security-Hardened and Audited – Per-Owner Mail Access, Sanitised Content, Safe Attachments
IMPROVED – Faster Inbox and Instant Search on Large Mailboxes
IMPROVED – Leaner IMAP Sync – Less Bandwidth, No Duplicate Fetches
FIXED – Accurate Sent/Failed Status, Real Received Dates and Read State, Mailbox-Rebuild Recovery

⚡ Centralize Staff Emails Directly in Perfex

Ever wanted a web-based email client built right into Perfex CRM’s admin area to handle all your daily communications with your customers?

We’ve got you covered! With our powerful Mailbox module, your staff members can send, receive, draft, organize, and label emails from their own IMAP accounts – directly inside their Perfex dashboard.

Seamlessly convert emails into Tasks, Support Tickets, Leads, or even assign them to Customers as internal conversations – streamlining your workflow without switching tools.

✔️ Multi-account support every staff member has his/her own Inbox
✔️ Schedule emails to send later, right when it matters
✔️ Auto-replies to keep conversations going while you're away
✔️ Create & assign labels (tags) to stay organized
✔️ Localized interface for global teams
✔️ SSL/TLS secured IMAP support for peace of mind
✔️ OAuth2 authentication for Gmail and Outlook - no passwords needed
✔️ Enterprise-grade security with encrypted password storage
✔️ Per-staff IMAP configuration - each staff member can use their own email provider
✔️ Sync read status to email server - keep Gmail/Outlook in sync with Perfex
✔️ Gmail-style interface - familiar, compact webmail design
✔️ Email threading - collapsible conversation threads
✔️ Archive and Snooze - keep inbox organized
✔️ Email rules - automate email management
✔️ Assign emails to Customers/Tasks/Tickets/Leads for a great efficiency
✔️ Automatic CRM linking - incoming mail files itself to the right customer or lead
✔️ Context sidebar - invoices, balance, tickets and history beside every email
✔️ Follow-up reminders and response SLA - never let a reply go cold
✔️ Saved replies with merge tags - shared across your team
✔️ Security-audited - per-owner access, sanitised content, safe attachments

It’s email – fully integrated into Perfex CRM, the project management tool you rely on – designed to simplify your team’s daily workflow. Cool, eh?





✉️ Online Documentation and Demo






↪️ Auto Replies & Email Templates

Streamline your customer communication with powerful auto-reply rules and custom email templates built right into Perfex CRM’s mailbox module. Automatically send personalized messages when leads, tickets or clients reach specific stages in your workflow, saving time and ensuring consistent follow-up every time.


⏰ Schedule Emails (Send Later)

Never miss the ideal send-time again: compose your emails now and schedule them to go out at the perfect moment. Whether you’re syncing with global teams or planning drip campaigns, “Send Later” ensures your messages hit inboxes when engagement is highest.


⬜️ Custom Email Tags (Labels)

Organize hundreds of conversations at a glance by applying color-coded tags and labels. Create, edit and filter by tags like “Important,” “Support,” or “VIP Lead” to segment your mailbox, prioritize responses and keep your inbox clutter-free for maximum productivity.


✏️ Assign Emails to Tasks

Convert any incoming email into a Perfex CRM task in seconds. With one click, assign it to your team, set deadlines and track progress – all without leaving your mailbox. Keep every to-do item linked directly to the original conversation for seamless project management.


⤵️ Convert Emails into Support Tickets

Transform customer inquiries into fully-featured support tickets inside Perfex CRM. Automatically tag, prioritize, and route emails to the right department, ensuring no request slips through the cracks and your support team stays fully aligned.


Seamlessly associate inbound messages with your sales pipeline by assigning emails directly to leads and opportunities. Track every conversation, set reminders, and build a complete history to close deals faster with context-rich communication.


☑️ Assign Emails to Customers

Never lose sight of client conversations. Link each email to existing customers or create new contacts on the fly. Access past interactions, invoices or project details instantly, delivering personalized service that builds trust and loyalty.


Stop filing email by hand. The moment a message arrives, Mailbox matches the sender to the right Customer or Lead and links it automatically – no clicks, no missed connections. It is deliberately careful: only an exact, single, active match is linked, so an ambiguous address is left for you to decide rather than guessed at. At real volume, this is the difference between a CRM bridge that works and one that only works in the demo.


Sender Context Sidebar (Know Who You Are Talking To)

Open any email and see the whole relationship at a glance: company, open invoices, overdue balance, open tickets and your recent conversation history, with a direct link to their Customer or Lead profile. Answer with full context without leaving your inbox – and turn the email into an Estimate, Invoice or Proposal in one click, pre-filled for that customer.


⚙️ Rules Engine v2 (Real Automation, Real CRM Actions)

Your rules just grew teeth. Match on sender, subject, body or recipient, then link to a client or lead, apply a tag, assign to a staff member, create a task or a support ticket, snooze, star, or capture a brand-new lead. Build the workflow once and let every incoming email route, file and follow itself.


Auto Lead Capture (Never Lose an Inbound Opportunity)

An email from a stranger to your sales address becomes a Perfex Lead automatically, filed against the original conversation. It is smart about noise: newsletters, no-reply addresses and system notifications are skipped, existing contacts and leads are never duplicated, and a rejected lead is not re-created on the next email. Real prospects in, junk out.


⏱ Follow-Up Reminders (“Remind Me If They Do Not Reply”)

Send an important email, set a reminder, and forget it. If the client goes quiet, Mailbox nudges you at the right moment with a Perfex notification. If they reply, the reminder cancels itself – Mailbox detects the response and clears it. No more deals going cold because a follow-up slipped through the cracks.


⏳ First-Response SLA (Keep Every Customer Answered in Time)

Set a first-response target and let the inbox watch the clock for you. Emails show a clear Due soon, Overdue or Answered in time badge, so your team knows exactly what needs a reply now. Automated senders are ignored, because a newsletter is not a case to answer.


Saved Replies (Answer in Seconds, On-Brand Every Time)

Build a library of canned responses – personal or shared with the whole team – and drop them into any reply with a quick shortcut. Merge tags fill in the details for you: {contact_firstname}, {client_company}, {lead_name}, {staff_fullname} and more, pulled straight from the email you are answering. Consistent, personal replies without the copy-paste.


Lead Timeline Logging (A Complete Conversation Record)

Every email linked to a lead, inbound and outbound, is written straight onto that lead’s native activity feed. Open the Lead in Perfex and the full email history is right there in the timeline, giving your sales team the context to close with confidence.


✍️ Contact Management & Autocomplete

Maintain a unified contact list with full CRM integration. Add, edit or merge contacts directly from the mailbox interface, complete with profiles, communication logs, and custom fields – keeping your address book always up to date and adding autocomplete functionality.


⚙️ Advanced Mailbox Organization

Keep your inbox tidy with nested folders, smart, live filtering and quick-move actions. Tag conversations by project, client or department, and access any tag in just one search – perfect for teams managing high volumes of email daily.


✒️ Rich Compose Experience

Craft professional emails with full WYSIWYG editing, file attachments, inline images and dynamic merge fields. Save time with reusable templates, signature management, and keyboard shortcuts – ensuring every message is polished and on-brand.



✔️ Mailbox Module for Perfex – Continuous Improvements

The Mailbox module has evolved significantly since its initial release, introducing powerful features that streamline communication and enhance customer relationship management within Perfex CRM.

From the introduction of the “Conversation” tab that links emails directly to leads, to the ability to create support tickets and tasks from emails, the module continues to grow with your operational needs in mind. Each update brings meaningful improvements designed to boost productivity, improve collaboration, and simplify email management.

The 2.3 release is the module’s biggest leap yet – the point where Mailbox stops being webmail inside Perfex and becomes the command centre that runs your customer relationships from the inbox.

Incoming mail now files itself to the right Customer or Lead, a context sidebar shows open invoices, overdue balances, tickets and history beside every message, and you can spin up an Estimate, Invoice or Proposal in a single click. A rebuilt Rules Engine links, tags, assigns, snoozes, and creates tasks, tickets and leads automatically, while follow-up reminders and a first-response SLA make sure nothing goes cold and no customer waits too long.

Your team replies faster with shared saved replies and merge tags, and every conversation is logged to the lead’s timeline for a complete record. All of it rides on a security-hardened, independently audited and performance-tuned core – faster inbox, instant search, and leaner sync.

Experience a modern Gmail-style compact interface with email threading that groups conversations, a split-view preview pane for quick scanning, and advanced organization tools including Archive and Snooze features.

Automate email management with a powerful Rules System that filters and organizes emails based on custom conditions, while Advanced Search helps you find any email instantly using multiple criteria.

Enhanced security comes with OAuth2 authentication for Gmail and Outlook (no passwords needed), enterprise-grade password encryption, and per-staff IMAP configuration allowing each team member to use their own email provider.

The latest update adds per-staff read status sync, keeping your Gmail or Outlook inbox perfectly synchronized with Perfex – when you read an email in Perfex, it’s automatically marked as read on your email server.

Additional productivity features include multiple tags per email, density views for personalized layouts, column visibility controls, and a modern IMAP library with active maintenance.

This comprehensive update represents a major evolution in email management, combining powerful automation, modern security, and intuitive design to streamline your team’s daily workflow.

Stay tuned – more smart features are always on the horizon to help you manage your customer communications even more efficiently.


⚪️ Prerequisites:

- You need an IMAP account which can accept connections over SSL/TLS from a third party app (your Perfex installation). If you are running under a 2-way factor authenticator or oAuth type, you need to disable it. Elsewise, connections wont be accepted by your server. For Gmail and Outlook, you can now use OAuth2 authentication for secure, password-free connections.

- You need to have cronjob of Perfex set up correctly, as per instructions found here: https://help.perfexcrm.com/setup-cron-job/

- You wont be able to use IMAP functionalities under a POP account. Make sure that your account is an IMAP-based one.

- This module was made in order to be able to view/respond to all incoming emails, within Perfex. Sent emails from this module will be stored into its ‘Sent’ folder and will use Perfex’s outgoing email settings.

- Actions like Star/Trash/Important will affect your local inbox (Perfex) and they will be stored in the database, along with their attachments in the appropriate folder. This module has no control over your IMAP server – it is an one-way sync module that will fetch your unread Inbox mails. However, with the new read status sync feature, you can optionally sync read status back to your IMAP server.

- Our module uses staff member account’s email address for login to the IMAP server (every staff member can change his/her own email from his/her profile though).






Support

It takes only a few seconds to be installed, activated and have a fully working Mailbox Perfex client.

If you have any questions, feel free to raise a support ticket at our support area.
Guys from support department will get back to you as soon as possible with a reply.




Version 2.3.1

Performance and search - Faster inbox on large mailboxes: added the database indexes the list view and sender lookups always needed. - Instant full-text search across subject and body, with an automatic fallback on older MySQL. - Leaner IMAP sync: message bodies are no longer fetched twice on every sync cycle - less bandwidth, faster runs. - Quieter activity log: routine sync housekeeping moved behind Debug Mode, so the log shows what matters. - Consolidated the OAuth connect flow into a single code path for easier, safer maintenance.

Version 2.3.0

New - CRM automation suite - Smart CRM Auto-Link: inbound mail is filed automatically to the matching Customer or Lead (exact single-match only). - Sender Context Sidebar: company, open invoices, overdue balance, open tickets and recent history beside each email. - One-click Estimate, Invoice and Proposal, pre-filled for the linked customer or lead. - Rules Engine v2: new CRM actions - link to client or lead, capture lead, create task, create ticket, assign to staff, snooze, star, tag. - Auto Lead Capture from unknown senders, with newsletter and no-reply protection and duplicate safety. - Follow-Up Reminders ("remind me if no reply"), auto-cancelled when the client replies, delivered as Perfex notifications. - First-Response SLA with due-soon, overdue and answered-in-time badges. - Saved Replies (Snippets), personal or shared, with merge tags for contact, company, lead and staff. - Lead Timeline Logging: linked inbound and outbound emails appear on the lead's native activity feed. - Migration 230 adds the new tables and columns; existing installs upgrade automatically. Security hardening (audited) - Staff mail is now strictly scoped to its owner across all views and actions. - Email content is sanitised with a strict allowlist; sender, subject and recipient fields are escaped on output. - Attachments are served through an authenticated, download-only endpoint and can no longer execute; execution is denied inside the uploads folder. - State-changing actions require POST; OAuth sign-in now validates an anti-CSRF state token. - Removed internal error detail from user-facing responses. Reliability fixes - Repaired scheduled sending for OAuth accounts (previously failed silently for the whole run). - Sent status is now accurate - a failed send is reported as Failed instead of Sent. - Emails now store the real received date and read/unread state from the mail server. - Mailbox rebuilds and migrations no longer cause sync to silently skip all new mail (UIDVALIDITY tracking). - Mail-to-Ticket now attaches to the correct customer; tasks created from email get due dates and CRM links. - Fixed PHP 8 warnings on the customer-unassign and template-update actions.

Version 2.2.2

- Improvements for O365

Version 2.1.8

- IMAP protocol connection improvements

Version 2.1.9

- Code Improvements

Version 2.1.8

- Batch processing for initial sync of big inboxes

Version 2.1.7

- Per-Staff IMAP Read Status Sync to Email Server - Auto-Mark as Read Control in Preview Pane and Single View - IMAP UID Storage for Read Status Syncing - Enhanced Activity Logging with Minimal Verbosity - CSS Scoping Fixes for Pagination Styles - Migration 217: Added sync_read_status_to_server and uid columns

Version 2.1.6

- Per-Staff IMAP Server Configuration (Server, Port, Encryption) - Per-Staff OAuth Credentials for Gmail and Outlook - Per-Staff Folder Mappings (Sent, Drafts, Trash, Spam, Archive) - Per-Staff Preferences (Import Unread Only, HTML Rendering) - OAuth Email Sending for Gmail and Outlook - Enhanced OAuth Token Refresh with Better Error Handling - Manual Email Sync Endpoint - Migration 212-214: Per-staff configuration support

Version 2.1.5

- OAuth2 Authentication for Gmail and Outlook/Microsoft 365 - Enterprise-Grade Password Encryption (AES-256-CBC) - Modern IMAP Library Integration (Webklex/php-imap v4.x) - Automatic OAuth Token Refresh - OAuth Token Encryption for Maximum Security - Enhanced Error Handling and Logging - Database Performance Indexes - Migration 206-211: OAuth and security features

Version 2.1.4

- Gmail-Style Compact Webmail Interface - Density Views (Cozy, Comfortable, Compact) - Column Visibility Toggle - Preview Pane with Split-View and Search - Email Threading with Collapsible Conversations - Archive and Snooze Features - Email Rules System with Conditions and Actions - Advanced Search with Multiple Filters - Multiple Tags per Email Support - Enhanced Bulk Actions - Improved Pagination Alignment and Styling

Version 2.1.3

- Settings Cleanup and Reorganization - Per-Staff Settings Migration - Auto-Refresh Interval Fix - Auto-Mark as Read in Preview Pane Fix - Comprehensive Settings Audit

Version 2.1.2

- Enhanced Tag System with Multi-Tag Support - Improved Contact Management - Enhanced Email Templates - Improved Auto-Replies - Enhanced Scheduled Emails - Multiple Pagination Fixes

Version 2.1.1

- Database Performance Indexes - Migration 210: Added Missing Columns and Tables - Enabled All Features by Default

Version 2.1.0

- Complete UI Redesign with Modern Compact Interface - Gmail-Style Layout - Responsive Design Improvements - Three-Dots Action Menu - Enhanced Bulk Action Capabilities

Version 2.0.7

- Major UI/UX Improvements - Email Threading - Preview Pane - Archive Support - Rules System - Increased Mail Signature Field Size

Version 2.0.6

MAJOR UPDATE - OAuth2 Authentication & Security Enhancements NEW FEATURES: - OAuth2 authentication support for Gmail and Outlook/Microsoft 365 - Secure password-free email connections using industry-standard OAuth2 - Enterprise-grade password encryption (AES-256-CBC) for stored credentials - Automatic OAuth token refresh - tokens update seamlessly before expiration - Modern IMAP library integration (Webklex/php-imap) with active maintenance - Enhanced error handling and logging for better troubleshooting - Database performance indexes for faster email queries - Incremental email sync support using UID tracking SECURITY IMPROVEMENTS: - All passwords encrypted before database storage - OAuth tokens encrypted for maximum security - Secure token management with automatic refresh - Enhanced connection error handling PERFORMANCE OPTIMIZATIONS: - Database indexes added for mail_inbox, mail_outbox, and mail_attachment tables - Optimized email sync queries for better performance - Improved connection management and error recovery TECHNICAL IMPROVEMENTS: - Updated to modern PHP IMAP library (Webklex/php-imap v4.x) - Backward compatible with existing password-based accounts - Improved email body processing and attachment handling - Enhanced MIME header decoding for international characters USER EXPERIENCE: - One-click OAuth connection for Gmail and Outlook - Easy OAuth setup in Settings → Mailbox - Seamless transition from password to OAuth authentication - Better error messages for connection issues This update represents a major security and functionality enhancement, making the Mailbox module future-proof and ready for modern email providers that are moving away from password-based authentication.

Version 2.2.4

- Fixed sync skipping unread mail after switching a staff account between "unread only" and "fetch all" modes. - IMAP sync now tracks a separate checkpoint for each mode, so toggling the setting no longer permanently misses older messages. - Existing accounts upgrade automatically on update; already-synced mail is not re-imported (duplicate protection). - Hardened the upgrade/migration path against silent database errors.

Version 2.2.3

- Fixed incremental IMAP sync (never fetched new mail after first checkpoint). - Working "Run Manual Sync Now" button in Settings. - Unread-only sync no longer stalls on large backlogs. - Skip deactivated staff; Debug Mode toggle; no more secret logging. - Fixed broken table-based HTML emails.

Version 2.2.1

- Outlook OAuth using single Exchange Online resource + SMTP XOAUTH2 send. - Layered inbox dedup

Version 2.0.5

- Assign Email to Customer(s) - Convert Email to Support Ticket - Tags System (Email labels) - Automatic Replies - Send Later (Email scheduling) - Advanced Live Filtering - Contacts Book - Address Autocomplete

Version 2.0.4 (Perfex v3.2.1+ required)

- Option to fetch also read emails added - Allow/disallow HTML in body content option added - Convert to task option added - Settings Improvements - Security Enhancements - Improved Logging - Fix: Encoding for non UTF-8 senders/subjects

Version 2.0.3b

-Support for non-UTF8 sender names added

Version 2.0.3

-New Feature: Emails can now be assigned to Leads (Assign to Lead button) -New Feature: "Conversation" tab in Leads view, that includes all assigned emails -New Feature: Email conversations can now be converted to a Support Ticket

Version 2.0.2

-Read emails counter added

Version 2.0.1

-Support for single attachment forward (Inbox/Outbox) added

Version 2.0.0

-Compatibility fixes for Perfex core v3.0 (minimum required version) -Minimum PHP version required: 7.4

Version 1.0m

-Ukranian language added - Contributor: Andrii Perevertun

Version 1.0l

-Changed default sorting to date received -Trimmed body content in preview, to avoid overlapping of lines -Removed name from reply addresses, which used issues in some SMTPs

Version 1.0k

-Fixed issue related to the signatures in >Perfex 2.7.0 installations -Spanish language added - Contributor: Ariel Ramos

Version 1.0j

-Fixed issue which prevented draft emails from being deleted in some cases. -Fixed search issue - datatables' data are now filtered properly -Fixed mass delete redirection rule - you are now redirected back to the previous folder -Fixed sort by date filter - you can now use it on every folder

Version 1.0i

-Added dependencies in order to support Perfex CRM 2.7.0 installations

Version 1.0h

-Support for signatures

Version 1.0g

-Support for attachments with spaces in their filenames

Version 1.0f

-Italian Language added

Version 1.0e

-Addressed issue of non redirecting back to inbox after marking a message as important

Version 1.0d

-Addressed issue of Compose button that was not visible under mobile view

Version 1.0c

-Aesthetic bugfixes (profile picture/wrapping of email body text)

Version 1.0b

-Resolved conflict that caused Inbox/Sent folder to list identical data

Version 1.0

-Initial version, fully compatible with the latest version of Perfex CRM

Mailbox - Webmail Client & Email Automation Module for Perfex CRM

17.00 USDT 59.00 USDT
Buy now

After successful payment, you will receive a download link for the source code