API endpoint to wait for the mail queue to drain?

What problem are you experiencing that you are trying to solve?