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
  • Hi, 

    We have several emails ending up in the exception folder, today we have 12 emails where the error in the logs is:

    2025-04-11 02:48:22,537 [Appian Work Item - 2042542 - WorkID 832 - execution00 - process 36048198 - model 1283 : UnattendedJavaActivityRequest] ERROR com.appiancs.msgraphmail.MSGraphDBHandler - Error writing mail to database
    java.lang.NullPointerException

    We would appreciate it if you could provide us with more detailed information about this error so that we can prevent emails from being sent to the exceptions folder.

    Thanks in advance

Comment
  • Hi, 

    We have several emails ending up in the exception folder, today we have 12 emails where the error in the logs is:

    2025-04-11 02:48:22,537 [Appian Work Item - 2042542 - WorkID 832 - execution00 - process 36048198 - model 1283 : UnattendedJavaActivityRequest] ERROR com.appiancs.msgraphmail.MSGraphDBHandler - Error writing mail to database
    java.lang.NullPointerException

    We would appreciate it if you could provide us with more detailed information about this error so that we can prevent emails from being sent to the exceptions folder.

    Thanks in advance

Children
No Data