How to delete mails from the Jira outbound queue

Still need help?

The Atlassian Community is here for you.

Ask the community

This article only applies to the Atlassian server platform. Learn more about the differences between cloud and server.


For any reason you need to delete (not flush) the mails from mail queue.

Thousands of Emails are awaiting in mail queue to be sent. 


This may be caused by adding a wrong inbox Email address for mail handler. If there are thousands of messages in this inbox, Jira reads them all, creates issues and sends notification to related users.

There are many other scenarios that may cause mass outbound notifications. 


Jira outbound email is stored in-memory. If you're trying to clear Jira sending mail queue, restart Jira.

(warning) Following a Jira restart, all queued outgoing email will be cleared. There's no way to selectively clear email and leave others in the queue.  

What if I'm on Data Center

In DC, outbound email is also stored in memory. Every DC node maintains its own queue. 

You will need to inspect the outgoing mail queue on each node and see which one has the big number of emails. This node has to be restarted. 

If all nodes have thousands of emails queued, do a rolling restart of your cluster (one node at a time). (info) You do not need to stop all nodes and start them up one by one. 

Last modified on Sep 30, 2019

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.