API-eindpunt om te wachten tot de mailwachtrij leeg is?

I’m not sure what you’re asking? Is there something ambiguous about the problem expressed above?