The reason behind adding this new functionality was to have access to all emails sent out from/to Sales Panel Message of the section 'Requests/Quotes', in folders of the user's email mailbox (Inbox/Outbox). Now it is also possible to use this feature in OPS, while using Multi-leg Requests module and sending other OPS requests (it doesn't apply to Handling Requests).
In a section Settings, we have added a new panel Mailboxes. Enter this panel and click at the bottom of the page - a new window will show up for 'Mailbox' configuration, which needs to be filed in with details, such as:
To use basic authorization method enter SMTP and IMAP details.
If you have 2-Step Verification enabled on your Gmail account, please use App Password to configure your mailbox in Leon, or use Google Workspace method.
If you use Office 365, it is recommended to authorize using Office 365 method. If you want to use Basic Authorization and you are unable to configure the mailbox in Leon this way, please use contact your Office 365 administrator to confirm that Basic Authentication and SMTP AUTH are enabled.
If you use two-step verification with Office 365, you will also need the App Password to configure your mailbox in Leon.
If you use Office 365 shared mailbox, it is recommended to use Office 365 Shared method. For basic authorization, the username is a combination of your username and shared mailbox alias. For example:
Shared mailbox alias:
Shared mailbox username:
In this method, after clicking button, you will be redirected to Google Workspace or Office 365 (depending on the method selected), where you can log in to the e-mail selected and authorize Leon to access your mailbox.
In this method, in the Authorization E-mail text box you need to enter a-mail address which is used to access the shared mailbox. After clicking button, you will be redirected to Google Workspace, where you can authorize Leon to access your shared mailbox.
Before saving Mailbox settings, loading folders must be done - click icon and Leon will show a drop-down box Outbox, where all folders of the pre-defined email account will show and 1 outbox folder must be selected. In the Inbox field, it's possible to select more than 1 inbox folder. It is also possible to include 'Subfolders' into the configuration - Leon then will search for emails ot only in folders but also in inbox subfolders.