Upgrades the Swift Mailer script.