Fix issue: Cannot send email with MailerBase from a thread other than http request handling thread