set timeout on sending emails