If you have a Linux server with Plesk installed, you might need to clear the mail queue. To delete emails in the queue, you can use the following command via SSH:
/usr/local/psa/admin/sbin/mailqueuemng -D
Running this command will remove all the emails from the mail queue. The duration of the operation depends on the number of emails in the queue. While the command is running, you might experience some slowness on the server. Therefore, it's recommended to perform this task during off-peak hours.