Fix ActionMailer init race condition