View Categories

Email Integration

5 Docs

Email-to-Ticket Overview

Last Updated: March 23, 2026

How Email-to-Ticket Works Polls IMAP inbox on schedule (default 15 min). Emails matching Re: [TICK-YYYYMMDD-XXXXX] become replies; others create new tickets. Message IDs stored for deduplication.

Setting Up IMAP

Last Updated: March 23, 2026

Configuring Email Polling Requirements: PHP imap extension, dedicated email inbox, IMAP access enabled. Go to Support Desk → Settings → Email. Enter IMAP Host, Port (993 SSL / 143 TLS), Encryption, Username, Password. Set Polling Frequency (5, 10, or 15 min). Save. Allow one cron cycle to pass, then check ticket list for imported emails.

Reply-by-Email

Last Updated: March 23, 2026

Customers Replying via Email Email subject includes ticket number: Re: [TICK-20260323-00001]. Customer replies are matched and added to the existing ticket. Subject line must not be altered. Changed subjects create new tickets.

Outgoing Email Notifications

Last Updated: March 23, 2026

Notification Emails Event Recipient Template Ticket created Customer auto-reply.php Ticket created Agent/team ticket-created.php Agent replied Customer agent-reply.php Status changed Customer status-changed.php Ticket assigned Agent ticket-assigned.php SLA at risk Agent sla-at-risk.php SLA violated Agent + managers sla-violated.php Escalation Managers escalation-notification.php CSAT survey Customer satisfaction-request.php Each event individually toggleable under Settings → Notifications.

Email Template Customization

Last Updated: March 23, 2026

Customizing Email Templates Templates in includes/email/templates/. Each event has HTML ({event}.php) and plain-text ({event}-text.php). No visual editor — edit PHP files directly. Copy to child plugin to prevent overwrite on update. Template Variables Variable Description $data['ticket_number'] Ticket number $data['subject'] Ticket subject $data['customer_name'] Customer name $data['agent_name'] Agent name $data['reply_content'] Reply body $data['ticket_url'] Portal ticket URL $data['rating_url']...