PolyUtilities For PerfexCRM

Connect IMAP/SMTP Email & AI Chat to Perfex CRM Unified Inbox

Support emails trapped in shared webmail accounts force agents to switch out of Perfex CRM and manually copy customer context into tickets or invoices. PolyUtilities v3.7.0 connects your IMAP mailbox directly to the Unified Inbox via Perfex CRM’s native cron scheduler, pairing atomic email ingestion with SMTP replies and AI Chat drafting.

Follow this setup checklist to enable PHP IMAP polling, configure Gmail or custom mail server App Passwords, and manage email threads with AI translation and 1-Click CRM actions.

Email Sync LayerTechnical MechanismSecurity & Reliability Standard
Inbound IngestionPure-PHP IMAP via Perfex after_cron_runAtomic store-before-mark-read prevents lost emails
Outbound DeliveryPerfex CRM native SMTP configurationPreserves existing SPF, DKIM, and DMARC alignment
Credential Storage16-char App Password / Mailbox PasswordAES-256-CBC encrypted at rest (enc:v1:)
Attachment DefensePoly_omnichat_file_security scannerMagic-bytes, Image CDR, PDF/Zip/Macro inspection

Step 1: Verify PHP IMAP, App Passwords, and Perfex SMTP

The Email gateway hooks directly into Perfex CRM’s scheduled cron job, so no external webhook URL is needed. Activate PolyUtilities using the PolyUtilities installation guide and verify your server mail setup.

  • Confirm the PHP imap extension is enabled under Perfex Setup > Help > System Info.
  • For Gmail or Google Workspace, enable 2-Step Verification and create a 16-character App Password.
  • Confirm Perfex outbound SMTP works under Setup > Settings > Email (for example smtp.gmail.com port 465 SSL or 587 TLS).

Step 2: Configure Email Sync and AI Triage in Unified Inbox

OmniChat encrypts mailbox credentials and polls safely using a store-before-mark-read cycle. Pair Unified Inbox email triage with custom portal widgets and Perfex CRM announcement sliders to reduce repetitive support requests.

  • Open OmniChat & AI Hub > Settings > Omnichannel Gateways, choose Email (IMAP / SMTP), enter your email address, 16-char App Password, and IMAP host (such as imap.gmail.com), then save.
  • Ensure your server triggers Perfex CRM’s cron job every 5 minutes so inbound threads sync into admin/poly_utilities/omnichat.
  • Use AI Draft Reply, Summarize Thread, and $ CrossTag pills to triage emails faster or convert threads into Perfex Tickets in one click.

Common Pitfalls and Quick Fixes

  • Gmail IMAP login rejected: Regular passwords fail IMAP auth. Turn on Google 2-Step Verification and paste a 16-character App Password instead.
  • Emails do not sync into Unified Inbox: Perfex CRM’s cron is not running. Check crontab frequency and confirm Setup > Settings > Cron Job updates every 5 minutes.
  • Outbound email replies fail: OmniChat uses Perfex core SMTP. Send a test message under Setup > Settings > Email to verify host and port credentials.

Frequently Asked Questions

Does Email sync require setting up an extra cron job beyond Perfex CRM?

No. PolyUtilities attaches pure-PHP IMAP polling directly to Perfex CRM’s existing after_cron_run hook alongside daily analytics rollups and retention cleanup. As long as your standard Perfex CRM cron runs every five minutes, incoming support emails synchronize into the Unified Inbox automatically.

Why does OmniChat store messages before marking IMAP emails as read?

The atomic store-before-mark-read sequence guarantees an email is only flagged as seen on your mail server after Perfex CRM successfully commits the message and sanitized attachments to the database. If a transient database or PHP interruption occurs, the next cron cycle safely retries ingestion.

How are email attachments protected from malware or malicious PDFs?

Every inbound attachment passes through OmniChat’s pure-PHP File Security defense before saving to disk. It validates magic bytes, strips EXIF/polyglots via GD image re-encoding, blocks executable or macro-enabled archives and malicious PDF actions, and optionally streams files to a local ClamAV daemon.

Can I preview the Unified Inbox email workflow before installing?

Yes. Open the PolyUtilities live Perfex CRM demo to explore the 3-panel Unified Inbox, Email IMAP and SMTP gateway fields, contextual ? setup guide modal, 10-layer attachment scanner governance controls, and AI Copilot email drafting tools directly inside a live interactive sandbox.


Comments

Leave a Reply

Your email address will not be published.Required fields are marked *