smtp: Reuse existing connections where possible

This should speed up the system where several emails and alerts will be sent
through the same SMTP account in the same request.
Merge pull request #462 from greezybacon/issue/reuse-smtp-conns

smtp: Reuse existing connections where possible

Reviewed-By: Peter Rotich <peter@osticket.com>