Register the swift mailer.