Easy Email Queue Monitor for Jira

What is an email queue?

An email queue is a system that keeps track of emails that are waiting to be processed for delivery. Queued emails wait in the email queues until their recipient is ready to receive them.

When you send mass emails, the SMTP server in your Exchange Server organization automatically puts them into an email queue

Despite the recurring predictions for its death, the asynchronous nature of email is what makes it adaptable, robust and still the most used method of communication. However the asynchronous delivery that makes email robust and scalable, also makes it exceedingly difficult to continuously monitor.

On top of this, most corporate email systems employ additional layers and filtering including external cloud-based SMTP Filters and spam protection. These extra layers add points of failures and latencies for both inbound and outbound email flow.

When everything was behind the firewall, it was easy enough to detect stuck email queues and resolve the situation. Now with cloud-based systems it’s nearly impossible to monitor what’s working and what isn’t.

That is why we developed Easy Email Queue Monitor.

So lets get started

Installation

  1. Log into your Jira instance as an admin.

  2. Click the admin dropdown and choose Add-ons.The Manage add-ons screen loads.

  3. Click Find new apps or Find new add-ons from the left-hand side of the page.

  4. Locate Mail Queue Monitor REST API via search.

  5. Results include app versions compatible with your Jira instance.

  6. Click Install to download and install your app.

  7. If your app cannot be installed directly into your application, you may be prompted to download.

  8. You're all set!Click Close in the Installed and ready to go dialog.

Step 1 :- Connect your favourite monitoring solution to the open API to trigger alerts when outgoing mail starts to fail.

Step 2 :- Create your own scripts to query the REST API to know the current mail queue size and error queue size

Step 3 :- Define your own thresholds

Data is exposed as XML and JSON, allowing you to define your own alert threshold in your scripts. For example:-

Step 4 :- Access the API

Once the add-on is installed, you will be able to access the API at http://[yourinstance]/rest/mailqueue/1.0/status