<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MSGraph Mail Poller</title><link>/b/appmarket/posts/msgraph-email-poller</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: MSGraph Mail Poller</title><link>https://community.appian.com/b/appmarket/posts/msgraph-email-poller</link><pubDate>Thu, 30 Apr 2026 18:25:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52a1e126-f088-4194-8bff-c2d3bceb5e2a</guid><dc:creator>syncop8shun</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Thanks Mike for the suggestions. I checked the log. It contains the following:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancs.msgraphmail.MSGraphDBHandler - Error writing mail to database
java.sql.SQLSyntaxErrorException: (conn=58270) Unknown column &amp;#39;CONVERSATION_ID&amp;#39; in &amp;#39;INSERT INTO&amp;#39;&lt;br /&gt;&lt;br /&gt;My table did not contain that field.  &lt;br /&gt;I looked at the unzipped file and saw that there is a Version 4.3.0 Add-on Database Scripts folder that I previously ignored.&lt;br /&gt;I did not see anything in the Deployment instructions about the new columns, plus we skipped a few versions. &lt;br /&gt;I ran the sql in that folder and re-ran the process without any errors.&lt;/pre&gt;&lt;img src="https://community.appian.com/aggbug?PostID=2815&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSGraph Mail Poller</title><link>https://community.appian.com/b/appmarket/posts/msgraph-email-poller</link><pubDate>Thu, 30 Apr 2026 15:18:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52a1e126-f088-4194-8bff-c2d3bceb5e2a</guid><dc:creator>SHKEXL288968</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I am getting the error message, I was working before, can anyone help me here.&lt;br /&gt;&lt;br /&gt;ErrorMessage -&amp;nbsp;&lt;span class="cellContent"&gt;Error executing the request&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.appian.com/aggbug?PostID=2815&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSGraph Mail Poller</title><link>https://community.appian.com/b/appmarket/posts/msgraph-email-poller</link><pubDate>Wed, 29 Apr 2026 15:16:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52a1e126-f088-4194-8bff-c2d3bceb5e2a</guid><dc:creator>syncop8shun</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hello. We just upgraded the plugin to v4.4.0 and we also upgraded to Appian 25.4.&amp;nbsp; When running the poller, it cannot write to the database.&amp;nbsp; I did not update the node in the process.&amp;nbsp; It still points to&amp;nbsp;jdbc/Appian just as it did before the latest version.&amp;nbsp; Any ideas?&lt;/p&gt;&lt;img src="https://community.appian.com/aggbug?PostID=2815&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSGraph Mail Poller</title><link>https://community.appian.com/b/appmarket/posts/msgraph-email-poller</link><pubDate>Mon, 20 Apr 2026 22:00:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52a1e126-f088-4194-8bff-c2d3bceb5e2a</guid><dc:creator>Appian AppMarket</dc:creator><slash:comments>0</slash:comments><description>&lt;div&gt;&lt;strong&gt;v4.4.0 Release Notes&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Now supporting simultaneous polling for up to five distinct mailboxes.&lt;/li&gt;&lt;/ul&gt;&lt;img src="https://community.appian.com/aggbug?PostID=2815&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSGraph Mail Poller</title><link>https://community.appian.com/b/appmarket/posts/msgraph-email-poller</link><pubDate>Wed, 15 Apr 2026 08:17:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52a1e126-f088-4194-8bff-c2d3bceb5e2a</guid><dc:creator>Nuno Curral</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;strong&gt;Empty Document Names for Email Attachments Without Subject&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Problem Description:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When processing emails with attachments that have no name or subject (e.g., draft emails without a subject line attached to another email), the MS Graph Mail Poller plugin would import in appian the attachment documents with&amp;nbsp;e&lt;strong&gt;mpty names. &lt;/strong&gt;This is incoherent with out of the box Smart Service&amp;nbsp;&lt;strong&gt;Edit Document Properties&lt;/strong&gt;&amp;nbsp;that does not allow to edit a document with an empty name.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;Scenario to Reproduce:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create a draft email without a subject&lt;/li&gt;
&lt;li&gt;Drag and drop that draft email as an attachment to another email&lt;/li&gt;
&lt;li&gt;Send the email to a mailbox monitored by the plugin&lt;/li&gt;
&lt;li&gt;The plugin&amp;nbsp;will create a&amp;nbsp;document with an empty name&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Suggestion of improvement:&lt;/strong&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;Attachments without names should be stored with sequential naming (&lt;/span&gt;&lt;span&gt;`Untitled_1`&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;`Untitled_2`&lt;/span&gt;&lt;span&gt;, etc.), preventing NullPointerException and empty document names in Appian. Logic to be applied to both regular and digitally signed (S/MIME) email processing paths.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;img src="https://community.appian.com/aggbug?PostID=2815&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSGraph Mail Poller</title><link>https://community.appian.com/b/appmarket/posts/msgraph-email-poller</link><pubDate>Fri, 27 Mar 2026 06:17:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52a1e126-f088-4194-8bff-c2d3bceb5e2a</guid><dc:creator>kirthikr</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Dear Team, we have a requirement to read only specific emails from mailbox, currently we couldn&amp;#39;t find any option to configure target folder to read emails from. It&amp;#39;ll be very helpful if we could do that in future versions.&lt;/p&gt;&lt;img src="https://community.appian.com/aggbug?PostID=2815&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSGraph Mail Poller</title><link>https://community.appian.com/b/appmarket/posts/msgraph-email-poller</link><pubDate>Tue, 27 Jan 2026 23:00:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52a1e126-f088-4194-8bff-c2d3bceb5e2a</guid><dc:creator>Appian AppMarket</dc:creator><slash:comments>0</slash:comments><description>&lt;div&gt;&lt;strong&gt;v4.3.3 Release Notes&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Updated rules for table names and vulnerabilities.&lt;/li&gt;&lt;/ul&gt;&lt;img src="https://community.appian.com/aggbug?PostID=2815&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSGraph Mail Poller</title><link>https://community.appian.com/b/appmarket/posts/msgraph-email-poller</link><pubDate>Wed, 21 Jan 2026 10:03:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52a1e126-f088-4194-8bff-c2d3bceb5e2a</guid><dc:creator>Nuno Curral</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Performance Optimization Tip: Reduce Graph API Payload When Generating EML Files&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Context:&lt;/strong&gt; When generating EML files without file attachments, we can avoid retrieving unnecessary attachment data from Microsoft Graph API.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Location:&lt;/strong&gt; In the extractDataAndDocFromMimeContentProxied method, when processing the EML generation path that excludes file attachments.&lt;/p&gt;
&lt;p&gt;Recommended Change:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Use selective field retrieval with .select(&amp;quot;id&amp;quot;):&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;AttachmentCollectionPage attachments = mc.graphClient.users(mailbox)
    .messages(copyMsg.id)
    .attachments()
    .buildRequest(requestOptions)
    &lt;strong&gt;.select(&amp;quot;id&amp;quot;)&lt;/strong&gt;
    .get();&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Instead of retrieving all fields:&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;AttachmentCollectionPage attachments = mc.graphClient.users(mailbox)
    .messages(copyMsg.id)
    .attachments()
    .buildRequest(requestOptions)
    .get();&lt;/pre&gt;
&lt;p&gt;Benefits:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Reduced network transfer:&lt;/strong&gt; Avoids downloading large contentBytes from each attachment&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Faster API response:&lt;/strong&gt; Graph API returns only attachment IDs instead of full attachment data&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Lower memory usage:&lt;/strong&gt; Especially beneficial for messages with multiple large attachments&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Same functionality:&lt;/strong&gt; Attachment IDs are sufficient for deletion operations&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Performance Impact:&lt;/strong&gt; For messages with large attachments (e.g., 5+ files totaling 50+ MB), this can reduce API response time by 50-70% during EML generation without attachments.&lt;/p&gt;
&lt;p&gt;This optimization applies specifically when generating EML files where file attachments are excluded (isKeepFileAttachmentsInEml != INCLUDE).&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Hope this helps optimize your Graph API integrations!&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt; NLC&lt;/p&gt;&lt;img src="https://community.appian.com/aggbug?PostID=2815&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSGraph Mail Poller</title><link>https://community.appian.com/b/appmarket/posts/msgraph-email-poller</link><pubDate>Thu, 08 Jan 2026 18:00:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52a1e126-f088-4194-8bff-c2d3bceb5e2a</guid><dc:creator>Nuno Curral</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Bearer Token Not Being Passed in Proxied Requests to Microsoft Graph API&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Issue Description:&lt;/strong&gt;&lt;br /&gt;When using the MS Graph Mail Poller plugin (version 4.3.2) with proxy authentication enabled (isConnectedViaProxy = true), requests to Microsoft Graph API fail with HTTP 401 Unauthorized errors. The Bearer access token is not being included in the API requests.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Root Cause:&lt;/strong&gt;&lt;br /&gt;In the MSGraphConnector.java file, the OkHttpClient (serviceHttpClient) is being built at line 73 BEFORE the TokenCredentialAuthProvider is created at line 97-99. This means the HTTP client is constructed without any mechanism to attach authentication tokens to outgoing requests. Even though the TokenCredentialAuthProvider is later passed to the GraphServiceClient builder, the underlying HTTP client was already finalized without token support, so it never adds the Bearer token to requests.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Suggested Fix:&lt;/strong&gt;&lt;br /&gt;The code in the isConnectedViaProxy block needs to be restructured:&lt;/p&gt;
&lt;p&gt;1. Remove the early serviceHttpClient build (lines 67-73)&lt;br /&gt;2. Create the TokenCredentialAuthProvider first (before building the HTTP client)&lt;br /&gt;3. Use HttpClients.createDefault(tokenCredentialAuthProvider).newBuilder() to initialize the HTTP client builder - this ensures tokens are automatically included&lt;br /&gt;4. Add proxy settings, timeouts, and proxy authenticator to the builder&lt;br /&gt;5. Build the serviceHttpClient as the LAST step after all configuration is complete&lt;/p&gt;
&lt;p&gt;The key is using HttpClients.createDefault(tokenCredentialAuthProvider) which creates an OkHttpClient.Builder that&amp;#39;s pre-configured to inject Bearer tokens into all requests. The current code bypasses this by creating a plain OkHttpClient.Builder without the token provider.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Impact:&lt;/strong&gt;&lt;br /&gt;Without this fix, proxy-authenticated environments cannot retrieve emails. With the fix, Bearer tokens are properly included and authentication succeeds.&lt;/p&gt;&lt;img src="https://community.appian.com/aggbug?PostID=2815&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSGraph Mail Poller</title><link>https://community.appian.com/b/appmarket/posts/msgraph-email-poller</link><pubDate>Thu, 27 Nov 2025 04:15:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52a1e126-f088-4194-8bff-c2d3bceb5e2a</guid><dc:creator>Raghunath Kannan</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hello Team,&lt;/p&gt;
&lt;p&gt;The plugin seems to replace special characters with a question mark. Is this an expected behaviour? Thank you in advance.&lt;/p&gt;
&lt;p&gt;Eg: Subject line -&amp;nbsp;テスト日本ඞ﷽&lt;/p&gt;
&lt;p&gt;Whats written to the DB - ??????????&lt;/p&gt;&lt;img src="https://community.appian.com/aggbug?PostID=2815&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSGraph Mail Poller</title><link>https://community.appian.com/b/appmarket/posts/msgraph-email-poller</link><pubDate>Fri, 14 Nov 2025 23:00:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52a1e126-f088-4194-8bff-c2d3bceb5e2a</guid><dc:creator>Appian AppMarket</dc:creator><slash:comments>0</slash:comments><description>&lt;div&gt;&lt;strong&gt;v4.3.2 Release Notes&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Updated DBHandler to fix SQLi vulnerabilities.&lt;/li&gt;&lt;/ul&gt;&lt;img src="https://community.appian.com/aggbug?PostID=2815&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSGraph Mail Poller</title><link>https://community.appian.com/b/appmarket/posts/msgraph-email-poller</link><pubDate>Fri, 31 Oct 2025 22:00:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52a1e126-f088-4194-8bff-c2d3bceb5e2a</guid><dc:creator>Appian AppMarket</dc:creator><slash:comments>0</slash:comments><description>&lt;div&gt;&lt;strong&gt;v&lt;/strong&gt;&lt;strong&gt;4.3.1 &lt;/strong&gt;&lt;strong&gt;Release Notes&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Security Updates - High&lt;/li&gt;
&lt;/ul&gt;&lt;img src="https://community.appian.com/aggbug?PostID=2815&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSGraph Mail Poller</title><link>https://community.appian.com/b/appmarket/posts/msgraph-email-poller</link><pubDate>Tue, 30 Sep 2025 22:00:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52a1e126-f088-4194-8bff-c2d3bceb5e2a</guid><dc:creator>Appian AppMarket</dc:creator><slash:comments>0</slash:comments><description>&lt;div&gt;&lt;strong&gt;v4.3.0 Release Notes&lt;/strong&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Conversation ID and Conversation Index are now saved from the inbound email to the database. &lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Additional Note:&lt;/li&gt;&lt;li class="ql-indent-1"&gt;Use the add-on database scripts from supplemental files while upgrading. &lt;/li&gt;&lt;li class="ql-indent-1"&gt;This DB scripts are add on to the existing ones in the supplemental files and to be used only after upgrading to new version. If using old version existing DB scripts works, if using V4.3.0 and above use existing ones + add-on DB scripts.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;img src="https://community.appian.com/aggbug?PostID=2815&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSGraph Mail Poller</title><link>https://community.appian.com/b/appmarket/posts/msgraph-email-poller</link><pubDate>Fri, 19 Sep 2025 22:00:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52a1e126-f088-4194-8bff-c2d3bceb5e2a</guid><dc:creator>Appian AppMarket</dc:creator><slash:comments>0</slash:comments><description>&lt;div&gt;&lt;strong&gt;v4.2.12 Release Notes&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Upgraded angus dependencies for vulnerability fixes.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;img src="https://community.appian.com/aggbug?PostID=2815&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: MSGraph Mail Poller</title><link>https://community.appian.com/b/appmarket/posts/msgraph-email-poller</link><pubDate>Thu, 04 Sep 2025 22:00:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:52a1e126-f088-4194-8bff-c2d3bceb5e2a</guid><dc:creator>Appian AppMarket</dc:creator><slash:comments>0</slash:comments><description>&lt;div&gt;&lt;strong&gt;v&lt;/strong&gt;&lt;strong&gt;4.2.11 Release Notes&lt;/strong&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Performance improvement for handling large sets of email attachments.&lt;/li&gt;&lt;/ul&gt;&lt;img src="https://community.appian.com/aggbug?PostID=2815&amp;AppID=50&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>