How can we help you today?

Go ahead and ask us anything.

Send Email to KanBo - Installation (Cloud)

Last modified:

The Send Email to KanBo feature will allow you to send emails directly to a KanBo Board and create a new Card out of the email. It will also allow you to add email and its attachments to an existing KanBo Card.


  • This feature is enabled for KanBo in version 2.7. Make sure you have this KanBo version installed.
  • Functionality requires having a service account on your Office 365 to serve as a Catch-All account. This Office 365 user needs to have at least Exchange Online license.
  • Optional - you can set up an email account for Incoming Email with a custom domain. Learn how to add a custom domain to your Office 365 here: Add a domain to Office 365. When you wish to proceed with a custom domain, create a service account with this domain in his email address (example: [email protected])

1. Creating a Catch-All email address.

You will need to create a Catch-All email account in your Exchange Online (in Office 365 installation scenario) or on Exchange server (in On Premise installation scenario).

This is a recommended scenario for creating a Catch-All address for Office 365/Exchange Online.

  • Add accepted domain in your Office 365.

Go to Office 365 and select Admin -> Exchange. As a next step, please choose the Email Flow in Exchange Admin Center.

  • Click on the “Accepted Domains”, then select your domain and click on the edit button.

  • In the new windows, change “Authoritative” to “Internal Relay” and save the changes.

  • Open Mail Flow section once again. Now select the Rules section and click on + (Add New button) and chose Create New Rule.

  • When the rule appears, select "More options..." at the bottom of the page. Give this Rule a name like "CatchAll".

  • Set the following properties to the Rule.

- In Apply this rule if chose "A recipient's domain is" - here add your domain.- In Do the following chose "Redirect the message to" and then, chose your CatchAll Email account from the User Picker.- In Do the following Add Action and select "Set the message header to this value..." and "Set the message header 'X-CatchAll-Rule' to value 'Yes'.- In Except if... select "The recipient is..." and then, chose your CatchAll Email account from the User Picker.

Now save the Rule.

2. SSL certificate and its configuration

    • Create a pair of certificates using Makecert or Powershell.
    • Upload the certificate to Azure in your Azure App -> SSL settings -> Private certificates -> Upload Certificate..

    • Go to your App's Application settings and add a new setting. It should be called WEBSITE_LOAD_CERTIFICATES and the value should be the thumbprint of your certificate.

    • Go to -> Debug Console -> Powershell -> Site, create a directory called Certs or Certificates and upload your certifiate pair there. To upload certificates, pack them all in a .zip file and drag*drop on the left side of Kudu editor.

    • Go to -> Debug Console -> Powershell -> Site ->wwwroot and start editing the web.config. Add the following code into <Authentication> section of web.config of KanBo.

    Change the Thumbprint of the certificate.

        <provider id="incoming-mails-svc" type="AppSignedService" name="Incoming mails">
              <signer type="X509SignerFromStore" storename="My" storelocation="CurrentUser" key="Thumbprint" value="{THUMBPRINT}" validonly="false" />
            <provider id="incoming-mails-user" type="AppSignedUser">
              <signer type="X509SignerFromStore" storename="My" storelocation="CurrentUser" key="Thumbprint" value="{THUMBPRINT}" validonly="false" />
            <provider id="incoming-mails-email" type="AppSignedEmail">
      <signer type="X509SignerFromStore" storename="My" storelocation="CurrentUser" key="Thumbprint" value="{THUMBPRINT}" validonly="false" />

    • Move slightly to the bottom to see the <appSettings> section.

    - Set KanBoIncomingMail value to true.

    <add key="KanBoIncomingMail" value="true" />

    - Set KanBoIncomingMailDomain to your sending domain name - the one on which you have the Catch-All mailbox.

    <add key="KanBoIncomingMailDomain" value="YourDomain" />

    Save the web.config.

    4. Configure the Email Tool

    Contact us at [email protected] to receive an Email to KanBo tool package.

    • Once you download the package, unzip it and move it a chosen location.
    • Open your directory and start editing EmailToKanBo.exe.config

    • In the following section please change the following values:

    - [email protected] - add here your Catch-All email

    - Password - add here the Catch-All account's email

    <add key="mail.type" value="ews-unread" />
    <add key="mail.receiver-email" value="[email protected]" />
    <add key="mail.receiver-password" value="Password" />
    <!-- will autodiscover if empty -->
    <add key="mail.url" value="" />

    • In the next section, adjust the following values:

    - CertPath - local path to your certificate (in Azure it will be like: D:\home\Certs),

    - Password - your certificate password,

    - https://YourKanboAddress - add here your KanBo address

    - YourDomain - add here your email domain to which Catch-All address is connected to

    <add key="kanbo.api.cert.file" value="CerthPath\CertName.pfx" />
    <add key="kanbo.api.cert.pass" value="Password" />
    <add key="kanbo.api.url" value="https://YourKanBoAddress" />
    <add key="kanbo.incoming-mail-domain" value="YourDomain" />

    Save the changes.

    TIP: If you intend to send emails to your catch-all address and some other email addresses (multiple at once), add this entry and adjust the number inside it to match the maximum number of receivers.

    <add key="kanbo.max-receivers" value="1" />

    5. Add an Azure App Webjob

    • Pack the EmailToKanBo folder in a .zip file (the package you were working on in the previous steps).
    • Go to your Azure App -> Webjobs. Select +Add.


    Name: yuour custom name

    File upload: the .zip of EmailToKanBo package, already configured,

    Type: Triggered,

    Triggers: Scheduled,

    CRON Expression: choose the convenient time for you, for information regarding CRON on Azure, see this guide.

    6. Use it!

    You finished the configuration and installation of the Incoming Mails feature.

    Now read how to use this feature by reading an article here: Incoming Emails

    Recommendation: Set an Outlook retention policy to remove old messages

    In order to not allow your Incoming Mails mailbox to clog up, set a simple rule to clean messages older than a week.

    1. As Exchange Administrator, got to Exchange Admin Center -> Compliance Management -> Retention Tags. Create a new rule "applied automatically to a default folder.

    2. Find out a name, select this tag to apply to Inbox only and choose retention period to 90 days.

    3. Go to retention policies and create a new Retention policy with this retention tag assigned.

    4. Go to recipients, select your Incoming Mails account and then in Mailbox features select your newly created Retention Policy.

    Is this article helpful for you?