reset smtp connection on error in messages, standardizing err as first param
reset smtp connection on error in messages, standardizing err as first param

imclab/emailjs,lvnhmd/emailjs,jniles/emailjs,jniles/emailjs,eleith/emailjs,imclab/emailjs,eleith/emailjs,lvnhmd/emailjs,eleith/emailjs