Fix incompatibility with ActionMailer 3.0.0.