Email piping

Email piping lets you, your agents, and your users reply to chat messages via email.

Activation

To activate the email piping go to Settings > Notifications > Email piping and enter your POP3/IMAP email server information, then set the email address to use for the email piping in Settings > Notifications > SMTP and you're done! The email address must be the one to which the email piping server connects to. PSI Bot will send all emails from this email address and you, your agents, and your users will reply to this email address.

Information

  • The setting Notifications > User email notifications must be enabled to send replies to the user email.

  • If you're using the Dialogflow App, and the settings Settings > Dialogflow > Human takeover is active, no emails are sent if the chatbot knows the answer.

  • If the setting Convert all emails is active, all emails sent to your inbox will be converted to chat messages, mind that all emails, including spam, promotional emails and more would be wrongly converted too.

  • If the setting convert all emails is active, email sent by email addresses of agents and admins will be ignored, use another email address for testing.

  • If the setting convert all emails is active, each email sent directly to the email piping address will generate a new user conversation.

  • You can not use the same email address used for the email piping to reply. All your PSI Bot agents and admins must use a different email address.

  • Agents must reply via email from the same email address registered in PSI Bot .

  • When agents reply in PSI Bot, emails are always sent to the user, even if user email notifications are disabled.

  • The email is sent to the Agents only if they are offline. If they are online no emails are sent.

  • For Google Gmail and Google Workspace emails, you need to replace your Google password with a Google app password, details on https://support.google.com/accounts/answer/185833 (Create & use App Passwords section). Enter imap.gmail.com as host and 993 as port.

  • Email piping requires php5-imap module (IMAP module). If it's not installed on your server you can install it with the command apt-get install php5-imap. If you have issues contact your hosting/server support.

  • The Delimiter option add a text at the top of all emails: ### Please type your reply above this line ### . This text tells PSI Bot to delete all the content below it and it's useful to cut out all of the reply quotes. Activate it if you see duplicated messages in the chat. If this option is active, you and your users can not use the string ### in the emails.

  • Email attachments are supported.

  • In order for email piping to work, email replies must contain the PSI Bot recipient's name. Ex. PresentecSolutions | PSI2457-4734 <example@email.com>. All major email clients like Outlook Web, Outlook, Gmail, Yahoo Mail, support the recipient's name by default via chatbot reply or reply all buttons.

  • Because of the nature of how emails work, each email client uses their personal codes, delimiters, and automatic strings, and more. For this reason, some chat messages converted from emails can contain invalid texts. We are working to optimize as many email clients as possible, for now, the following email clients are optimized and should not return any invalid text: Outlook Web, Outlook, Gmail, Yahoo Mail.

  • Email piping supports departments, if the user's conversation is assigned to a department, the email notifications are sent only to the agents assigned to that department.

Last updated