reusing SMTP connection for ToEmail

The original ToEmail block would reconnect and close the SMTP connection for each send. After some time and a lot of emails, Gmail (and likely other email providers) would get angry and start rejecting connections.

To solve this problem, I've changed the block to reuse the same SMTP connection.