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
  • One of the configuration properties is the Exception Folder Name where the email folder can be identified.  How can I test that this folder gets populated correctly, in other words, what would cause an email to be handled as an exception?

  • Good question. There is no predefined reason for an email not being able to be parsed. This would only happen in case of a java exception in the code, which could only occur during a database write in this phase of the process. So if the message contains content that could not be written to the database for some reason, or the database would be unavailable at the moment of executing the insert statement, this might occur.

Comment
  • Good question. There is no predefined reason for an email not being able to be parsed. This would only happen in case of a java exception in the code, which could only occur during a database write in this phase of the process. So if the message contains content that could not be written to the database for some reason, or the database would be unavailable at the moment of executing the insert statement, this might occur.

Children