fix mailer using environment vars set in bash session and passing bogus args to sendorder method, but should really use @user there