CW Manage – Monitoring the EmailRobot Service

Quinntin Comer Uncategorized Leave a Comment

A common issue that we hear about, and experience, is that the EmailRobot service is no longer processing items in the Inbox of your email connector mailbox. Typically, this is solved by a service restart. With a little bit of PowerShell magic – you can monitor the inbox and restart the services if certain conditions are met.

So, we have to do a few things to get ready for this.


  • Download and install the EWS API 2.1 (in the script, we are referencing the 32 bit version)
  • Generate a secure string password file

The Steps

Generate an Encrypted Password File

The above script will generate a file that contains an encrypted version of the password. Now that we have it there, we can reference that in our script.

Now you will want to create a scheduled task in Windows and run this every 5 minutes or so. To test, try killing the EmailRobot service and verify it works properly.

Coming up soon: Adding ticket creation with API if there is a failure.

Leave a Reply

Your email address will not be published. Required fields are marked *