When using email leads function from browser, the cgi timeout will be likely happened.
weather it is possible to send mail in batch ( 100 mail in a batch) to avoid timeout.
much like importing leads in admin panel. the mail is imported batch by batch.
another suggestion is when doing a batch sending mail. weather could send mail though
mutiple smtp server instead of single smtp server?