Backport PerformableMailer to dj 2.0.x.