add a timeout parameter: mails processing for too long will be retried