Move where the smtp object is instanciated
This should still helps us not running into socket error when running pagure
without a SMTP server configured while still allowing us to keep the one
connection per notification to send approach (and not one connection per
email sent).