How to delete errornous email notifications?

Hi,

we just started using notification emails, so i added the mailserver details on the admin page.
There were a lot of errornous mails from earlier notifications, which couldn’t been sent due to the missing mailserver information, that’s ok.

But after an xwiki restart, ALL of the old email notifications are resent! I disabled the mailbox as a workaround, but is there a way to delete all the old mail notifications?
On the mailsendstatus-adminpage, there are 74 pages x 15 entries, so ~1000 Mails pending.

Thanks,
Gerd

ok solved, found a velocity script for deleting:

(just searched for notifications and similar, not for “mail storage”)