{"version":"1.0","provider_name":"My CMS","provider_url":"https:\/\/help.xodox.in\/pt","author_name":"help-xodox","author_url":"https:\/\/help.xodox.in\/pt\/author\/help-xodox\/","title":"Leads email integration - My CMS","type":"rich","width":600,"height":338,"html":"<blockquote class=\"wp-embedded-content\" data-secret=\"XfrZTko9Ll\"><a href=\"https:\/\/help.xodox.in\/pt\/docs\/leads-email-integration\/\">Leads email integration<\/a><\/blockquote><iframe sandbox=\"allow-scripts\" security=\"restricted\" src=\"https:\/\/help.xodox.in\/pt\/docs\/leads-email-integration\/embed\/#?secret=XfrZTko9Ll\" width=\"600\" height=\"338\" title=\"&#8220;Leads email integration&#8221; &#8212; My CMS\" data-secret=\"XfrZTko9Ll\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" class=\"wp-embedded-content\"><\/iframe><script>\n\/*! This file is auto-generated *\/\n!function(d,l){\"use strict\";l.querySelector&&d.addEventListener&&\"undefined\"!=typeof URL&&(d.wp=d.wp||{},d.wp.receiveEmbedMessage||(d.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&&!\/[^a-zA-Z0-9]\/.test(t.secret)){for(var s,r,n,a=l.querySelectorAll('iframe[data-secret=\"'+t.secret+'\"]'),o=l.querySelectorAll('blockquote[data-secret=\"'+t.secret+'\"]'),c=new RegExp(\"^https?:$\",\"i\"),i=0;i<o.length;i++)o[i].style.display=\"none\";for(i=0;i<a.length;i++)s=a[i],e.source===s.contentWindow&&(s.removeAttribute(\"style\"),\"height\"===t.message?(1e3<(r=parseInt(t.value,10))?r=1e3:~~r<200&&(r=200),s.height=r):\"link\"===t.message&&(r=new URL(s.getAttribute(\"src\")),n=new URL(t.value),c.test(n.protocol))&&n.host===r.host&&l.activeElement===s&&(d.top.location.href=t.value))}},d.addEventListener(\"message\",d.wp.receiveEmbedMessage,!1),l.addEventListener(\"DOMContentLoaded\",function(){for(var e,t,s=l.querySelectorAll(\"iframe.wp-embedded-content\"),r=0;r<s.length;r++)(t=(e=s[r]).getAttribute(\"data-secret\"))||(t=Math.random().toString(36).substring(2,12),e.src+=\"#?secret=\"+t,e.setAttribute(\"data-secret\",t)),e.contentWindow.postMessage({message:\"ready\",secret:t},\"*\")},!1)))}(window,document);\n<\/script>","description":"Leads email integration is powerful Xodox feature who allow you to integrate leads from your email address. You can set up email forwarder from any form you are using and you will get the leads into the CRM. Eq. You are using 4 forms on \u00a0different websites, you set in your cPanel forwarders when you receive an email from\u00a0any of these forms to forward to the leads email which you have set up in Setup -&gt; Leads -&gt; Email Integration This feature is very sensitive so make sure you read the explanation carefully. Its recommended to start with a new brand email for this feature which will be used only for leads integration forwarding. No replies, composing emails from this email account. Meanwhile, it\u2019s your responsibility for the unwanted results. Navigate to Setup-&gt; Leads -&gt; Email Integration. By default, this feature will be inactive. When you configure the email integration you can set to active so the cron can process emails if any found. IMAP Server \u2013 Your leads email IMAP Server. Email address (Login) Password Encryption (SSL\/TLS\/No Encryption) Delete email after import \u2013\u00a0If you check this option the mail will be deleted after a successful import. Auto mark as public \u2013 Auto mark this lead as public, public leads are visible to all staff members. Folder \u2013 Default is INBOX \u2013 If you are using Gmail you cant change to\u00a0ex. Social, forums, update leave it to INBOX Check Every (minutes) \u2013 The cron will check for new emails every X minutes you set up here. Its recommended this field to be bigger than 10 minutes. Don\u2019t hard change in the database. Only check none opened emails \u2013 By default the cron will check only none opened emails. After checking the email will set this\u00a0email as opened so the next time won\u2019t be checked.\u00a0This is used to prevent checking\u00a0all the emails again and again in each cron run. Example if you have 40000 emails there the CRON will be very slow and you won\u2019t be satisfied with the results. In this case, if this field is checked everything will work fine. Default Source \u2013 After lead importing add source. Ex. Email Integration Default Status \u2013 The default status to be assigned after import Responsible for the new lead \u2013 auto assigns responsibility for this lead. Notify when lead imported \u2013 Do you want to be notified when new lead is imported from the email integration Notify if lead sends email multiple times \u2013 This is used when a lead send email multiple times. Ex. the lead sends an email and is imported after that send another email but the lead already exists in the database so when viewing this lead on the right side you can view all emails from this lead send. If this option is checked and lead sends multiple emails you will be notified. \u00a0If the lead is with status CLIENT nothing will happen and no email will be saved in the database. &nbsp; Notification \u2013\u00a0Staff Members with a role or\u00a0Specific Staff Members \u2013 If you don\u2019t select any staff or roles no one will be notified no matter if the notification fields above is checked. Admins won\u2019t be notified when a lead is imported from email if they are not checked. &nbsp; After you set up, all the fields SAVE the email configuration and test the connection clicking on the TEST IMAP CONNECTION button on the right side Authentication failures If your authentication is failing, there are several likely causes: You have the wrong username or password Your connection is being diverted to a different server (as above) You have specified authentication without encryption Common issues with Gmail or G Suite \u2013 Invalid username or password Invalid username or password when use Gmail or G-Suite can be a common error if you haven\u2019t turned Less Secure Apps to ON, however, it\u2019s recommended first to check if your password is correct. G-Suite Sign in to the Google Admin console. Click Security &gt; Basic settings. Under Less secure apps, select Go to settings for less secure apps. In the subwindow, select the Allow users to manage their access to less secure apps radio button. In case you are not receiving the emails and your SMTP configuration test email is showing that the configuration is working properly, take a look at the following articles: https:\/\/productforums.google.com\/forum\/#!topic\/Apps\/M7TiKQAWhq4 https:\/\/support.google.com\/a\/answer\/55299?hl=en Gmail Regular Account Log in to your user account. Visit:\u00a0https:\/\/www.google.com\/settings\/security\/lesssecureapps Toggle on. 2 Factor Authentication Enabled If you are\u00a0have enabled 2-factor authentication\u00a0on your Google Account, you\u00a0MUST\u00a0generate an application password and add the password in the password field. Click\u00a0here\u00a0to read how to generate App Password. Notes After the lead is imported the email will be set to open. This feature does not auto-populate the leads fields, only the email and the name will be auto-populated. If the sender has setup NAME in the email client will be auto-populated in the lead name field otherwise the email will be taken as a name because the email clients add the email as a name if no name is specified. If you want additional fields to be populated you need to format your email HTML\u00a0as explain here Set lead to junk if the imported lead is not accurate for you to prevent double importing. If you delete the lead and this lead send an email again will be imported again. Better to set it to junk. If you have unchecked\u00a0Only check none opened emails \u2013\u00a0all emails will be checked again and again meanwhile only will be checked non opened emails. If the email integration feature is set to active and the CRON cant connect to the IMAP server activity will be logged. To check the activity go to Utilities -&gt; Activity Log and find\u00a0[CRON] Failed to connect to IMAP lead email integration If the lead exists in the Xodox CRM after checking the email and this lead is with status junk\u00a0the email won\u2019t be saved into the database and no notifications will be received. If the"}