MSGraph Email Poller

Overview

Need to poll emails from your Exchange server? This smart service can be used in a poller process and extract the data from the Microsoft Exchange server. Messages are stored in the Appian Document System, as well as the attachments. Meta data is stored in a database table for further processing.

This plug-in provides an alternative to sending emails to an Appian process model when inbound email integration is requested. Instead of the email being forwarded to Appian, this plug-in reads the emails directly from the Exchange mailbox using the MS Graph API as described below:

  • Reads the mailbox using the MS Graph API
  • Convert the email to an EML file stored as an Appian document; Item attachments (calendar invites, messages) are kept in the eml file, File attachments removed from it and stored separately in the document management system.
  • Store all email file attachments as separate Appian documents
  • Store all email metadata (subject, author, recipients, etc...) into a set of tables in the database

Key Features & Functionality

All information how to deploy, configure and use the smart service is in the 'MS Graph Mail Poller.pdf' document in the downloaded zip. Extract the files in the ZIP and follow the instructions in the document.

Anonymous
Parents
  • Hello,

    We checked this error in tomcat-stdOut.log:

    ____________________________________________________________________________________________________________________

    2024-03-13 10:43:43 SEVERE [Appian Work Item - 1278037 - WorkID 197 - execution01 - process 6593101 - model 1283 : UnattendedJavaActivityRequest] com.microsoft.graph.logger.DefaultLogger.logError CoreHttpProvider[sendRequestInternal] - 408Error during http request

    2024-03-13 10:43:43 SEVERE [Appian Work Item - 1278037 - WorkID 197 - execution01 - process 6593101 - model 1283 : UnattendedJavaActivityRequest] com.microsoft.graph.logger.DefaultLogger.logError Throwable detail: com.microsoft.graph.core.ClientException: Error during http request

    2024-03-13 10:43:43,962 [Appian Work Item - 1278037 - WorkID 197 - execution01 - process 6593101 - model 1283 : UnattendedJavaActivityRequest] ERROR com.appiancs.msgraphmail.MSGraphMailPoller - Error during email processing, exiting all

    com.microsoft.graph.core.ClientException: Error during http request

    ____________________________________________________________________________________________________________________

    These error was detected in QAS and PRD, during the process of polling emails from outlook, using MSGraph Email Poller plugin.

      We need to know what is causing this error, as emails that fall into these situations are not being integrated into Appian, but rather sent to the "exception" folder in Outlook.

      This error occurs only with a small subset of emails.

      Regards

    1. Hi,

      Is there anything on those emails that is suspicious? Like characters that are not supported in the database (emoticons can sometimes be an issue), or an html body that is extremely large?

    2. Hi Raymond, 
      No, it seems not to have any characters suspicious, we did some test, to send new emails following same content (subject/body) and they were integrated. There is nothing apparent that prevent these emails to be integrated. 

      And especially that those are recurrent emails and in the past we didn't had any issues with those. 

      Thanks for providing more guidance, issue seems to have appeared after the upgrade release we made for the MS Graph Poller but to be confirmed. 

      Thank you

    Comment
    • Hi Raymond, 
      No, it seems not to have any characters suspicious, we did some test, to send new emails following same content (subject/body) and they were integrated. There is nothing apparent that prevent these emails to be integrated. 

      And especially that those are recurrent emails and in the past we didn't had any issues with those. 

      Thanks for providing more guidance, issue seems to have appeared after the upgrade release we made for the MS Graph Poller but to be confirmed. 

      Thank you

    Children
    No Data