fix to send of multiple queued mails