Skip to content

The answer by e-mail, for a visitor who left

A visitor may close the page before your team answers. Offer them a field to get the answer by e-mail too, on the chat’s page:

<x-aparte::launcher endpoint="/chat" people="/chat/people" :people-email="true" />

While the conversation waits for your team, a guest sees “Get the answer by e-mail too”; the address shows in the visitor panel. Two minutes after someone of your team answers, what the visitor has not seen goes to that address (or to a signed-in visitor’s account address) in one e-mail, with a link back to your site (site_url, else your app’s URL). Nothing goes when they saw it or wrote back. It needs a queue worker: on the sync queue, which cannot wait, nothing is sent rather than an e-mail during a live chat. 'visitor_mail' => false turns it off.