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
  • I have deployed the plugin and used it as a smart service in a process model. I've tried using two mails, one personal and the other mail attached to the Azure account. From my understanding, I thought the process instance would be created once the email account receives an email, but that did not happen. I have filled all the parameters. Is there something I'm missing? Any prior node has to be attached? I want to know what is preventing it from creating a process instance.

Comment
  • I have deployed the plugin and used it as a smart service in a process model. I've tried using two mails, one personal and the other mail attached to the Azure account. From my understanding, I thought the process instance would be created once the email account receives an email, but that did not happen. I have filled all the parameters. Is there something I'm missing? Any prior node has to be attached? I want to know what is preventing it from creating a process instance.

Children
  • Thanks for the info. Also is there any way to trigger the process upon receiving an email in the defined mailbox?

  • Hi Umam, If I understood your problem correctly is that you're waiting to receive an email then it starts the process.
    The plugin doesn't work like that. You need to have a scheduled process running every x amount of time. When the process runs and you have your plug in correctly in place it will read the Inbox and generate the necessary saves in your database.